Example of companies management, using Node JS and mongo DB, this is an single page application that uses Angular 1 for rendering.
It doesn't have authentication or security at all because the aim of the project is just learning use of Node and mongo
Classes:
- Company: Basic information of the company
Database:
- mongodb
Why angular 1?
I found and downloaded an HTML template, angular 1 was the easiest way to interact with this template
- Javascript
- Node ↣ v 14.7.0
- Express ↣ v 4.17.1
- Mongoose ↣ v 5.10.0
Create a config/default.json
file in the root of the project and add the following lines
{
"App": {
"webserver": {
"port": 5000
}
},
"MongoDB": {
"connectionString": "mongodb+srv://<<db_user>>:<<db_password>>@<<host>>/<<db_name>>?retryWrites=true&w=majority"
}
}
Install the dependencies
# install dependencies
$ npm install
- Run the project
# Start development
$ npm run start:dev
- Visit the URL
http://localhost:5000
- CRUD API Rest to manage companies
Project is: in progress because I'm still developing
- Registration page as user.
- Login page.
- Main menu.
- Make a UI using a newer version of angular or react.
- Author - Luis Arias 2019 [email protected] - GitHub profile
This is MIT licensed