https://github.com/alan345/saas
https://github.com/alan345/saas
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alan345/saas
- Owner: alan345
- Created: 2017-11-22T18:40:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T17:05:30.000Z (about 8 years ago)
- Last Synced: 2025-04-01T20:45:10.910Z (over 1 year ago)
- Language: TypeScript
- Size: 8.68 MB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ales by Gooplus
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.5.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Installing Dependecies
1. Clone this repo from Git
2. Run `npm install` in your command line.
3. Edit `config.js` in `/server/config` folder.
4. Run `node seed.js` to insert the admin user into database and create uploads folder. Admin email is `test@test.com` and password is `testpass`. Make sure mongod is running.
5. After login navigate to `localhost:3000/#/admin` to access admin panel.
=======
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
## Deploying to GitHub Pages
Run `ng github-pages:deploy` to deploy to GitHub Pages.
## Viewing the App
Open your favourite web browser and point to `http://localhost:3000`
Enjoy!
## Summary
1. `ng build --watch`
2. `nodemon npm start`
3. `http://localhost:3000`
install mongodb https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
stop apache service apache2 stop
pm2 start npm -- start
## Help with angular-cli
To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
# Preview of the app
### Login Form

### Password Reset Form

### Form

### Server Response in console logs

### User Forms

### Edit Form

### Admin Page

### Profile Page

### Users document in MongoDB with forms array ref

### Forms Document in MongoDB with ref to the user._id (owner field)

=======
To get more help on the `angular-cli` use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).