This is an application to simulate a company intranet using MongoDB, Express.js,Angular and Node.js
Functinos provided in the application:
- User authentication
- Backend user registration
- Forum
- Manage rquest items
- Activity management
- NodeJs
- Angular 2+
- MongoDB
- Clone the repo and install dependencies of API server:
$ git clone https://github.com/mankwok/meanapp.git
$ cd meanapp
$ npm install
- Install dependencies of Angular application:
$ cd angular-app/
$ npm install
- Setup Mongodb (Change the mongodb config in ./config/database.js)
module.exports = {
uri: '', //mongodb connection string uri
secret: crypto,
option: {
auth: {
user: '', //mongodb user
password: '' //mongodb password
}
}
}
- For development:
- Run API Server:
$ npm run devstart
- Run Angular Application:
$ cd angular-app/
$ ng serve
MIT.