Resolved issues

This commit is contained in:
thosakwe 2016-11-23 17:21:41 -05:00
parent e8191669c7
commit 359df0bf92
15 changed files with 28 additions and 39 deletions

View file

@ -5,6 +5,7 @@
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/bin/packages" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/packages" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/test/packages" />

View file

@ -25,14 +25,4 @@
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
</project>

View file

@ -3,7 +3,7 @@ An easily-extensible web server framework in Dart.
[Wiki](https://github.com/angel-dart/angel/wiki)
[API Documentation](http://www.dartdocs.org/documentation/angel_framework/1.0.0-dev)
[API Documentation](http://www.dartdocs.org/documentation/angel_framework/latest)
# About
@ -25,18 +25,20 @@ Thus, the third, and perhaps most important goal of the Angel framework is to be
Angel also prioritizes tooling. The app boilerplate is pre-fitted with all the plugins and configuration you need to launch an MVP in a matter of days. There is also Swagger code generator in the works. The rest is just implementation detail for you. No need to worry about the following:
* Mustache
* MongoDB
* Seeding
* [Mustache](https://github.com/angel-dart/mustache)
* [MongoDB](https://github.com/angel-dart/mongo)
* [Seeding](https://github.com/angel-dart/seeder)
* Angular2 Client
* Static File Server
* Load Balancing
* Authentication
* REST and WebSockets (client and server)
* Server daemon
* Command-line code generators
* Diagnostics and Logging
* Configuration (client and server)
* [Static File Server](https://github.com/angel-dart/static)
* [Proxy Forwarding](https://github.com/angel-dart/proxy)
* [Load Balancing](https://github.com/angel-dart/multiserver)
* [Authentication](https://github.com/angel-dart/auth)
* [REST](https://github.com/angel-dart/client) (client and server)
* [WebSockets](https://github.com/angel-dart/websocket) (client and server)
* [Server daemon](https://github.com/angel-dart/dartd)
* [Command-line code generators](https://github.com/angel-dart/cli)
* [Diagnostics and Logging](https://github.com/angel-dart/diagnostics)
* [Configuration](https://github.com/angel-dart/configuration) (client and server)
It's all taken care of for you.
@ -56,6 +58,6 @@ Thank you for using this library. I hope you like it. I have put months of effor
into Angel.
Feel free to follow me on Twitter:
[@thosakwe](http://twitter.com/thosakwe)
[@_wapaa_](http://twitter.com/_wapaa_)
Or, check out [my blog](http://blog.thosakwe.com)
Or, check out [my blog](http://blog.thosakwe.com).

View file

@ -1 +0,0 @@
../packages

View file

@ -13,6 +13,7 @@ main() async {
startServer() async {
var app = await createServer();
app.normalize();
var dateFormat = new DateFormat("y-MM-dd");
var logFile = new File("logs/${dateFormat.format(new DateTime.now())}.txt");
var host = new InternetAddress(app.properties['host']);

View file

@ -1,6 +1,4 @@
# Default server configuration.
host: 127.0.0.1
mongo_db: mongodb://localhost:27017/angel
db:
migrate:
database: angel
@ -9,4 +7,7 @@ db:
web:
database: angel
username: username
password: password
password: password
host: 127.0.0.1
mongo_db: mongodb://localhost:27017/angel
port: 3000

View file

@ -1,2 +1,2 @@
# Development-only server configuration.
port: 3000
debug: true

View file

@ -1,2 +1,2 @@
# Production-only server configuration
port: 80
debug: false

View file

@ -29,9 +29,8 @@ class AuthController extends Controller {
// Wire up local authentication, connected to our User service
_auth.serializer = _serializer;
_auth.deserializer = _deserializer;
_auth.strategies.add(new LocalAuthStrategy(
_verifier(app.container.make(UserService)),
forceBasic: true));
_auth.strategies
.add(new LocalAuthStrategy(_verifier(app.container.make(UserService))));
await super.call(app);
await app.configure(_auth);

View file

@ -10,7 +10,7 @@ configureBefore(Angel app) async {}
/// Put your app routes here!
configureRoutes(Angel app) async {
app.get('/', (req, ResponseContext res) => res.render('hello'));
app.all('*', serveStatic());
app.all('*', new VirtualDirectory());
}
configureAfter(Angel app) async {

View file

@ -11,7 +11,7 @@ dependencies:
angel_framework: ^1.0.0-dev
angel_mongo: ^1.0.0-dev
angel_mustache: ^1.0.0-dev
angel_static: ^1.0.0
angel_static: ^1.1.0-dev
json_god: ^2.0.0-beta
mailer: ^1.1.0+4
validate: ^1.5.2

View file

@ -1 +0,0 @@
../packages

View file

@ -1 +0,0 @@
../../packages

View file

@ -1 +0,0 @@
../packages

View file

@ -1 +0,0 @@
../packages