Skip to content

Example of companies management, using Node JS and mongo DB

License

Notifications You must be signed in to change notification settings

ariassd/CRM-Node-mongo

Repository files navigation

CRM + NODE + Angular 1 + MongoDB

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

Technologies

  • Javascript
  • Node ↣ v 14.7.0
  • Express ↣ v 4.17.1
  • Mongoose ↣ v 5.10.0

Setup

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

Features

  • CRUD API Rest to manage companies

Status

Project is: in progress because I'm still developing

TODO

  • Registration page as user.
  • Login page.
  • Main menu.
  • Make a UI using a newer version of angular or react.

Stay in touch

License

This is MIT licensed

About

Example of companies management, using Node JS and mongo DB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published