Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 945 Bytes

File metadata and controls

52 lines (36 loc) · 945 Bytes

Nodejs banner Angular banner


Design

FrontEnd- AngularJs,Bootstrap

BackEnd- NodeJS,ExpressJs,MongoDb


Prerequisite

1.NPM installed

2.Angular installed

3.MongoDB DataBase

Install Dependencies

$ npm install 

Usage

1.For the Backend

$ npm start 

2.For the Frontend

$ ng Serve 

3.MongoDb database

Configuration:

1.Change the Database Connection to your database in server.js file in the backend

  mongoose.connect(""/*MongoDb Connection string*/, {
    useNewUrlParser: true}).then(() => {
    console.log('Connected to MongoDB');
    http.listen(port, () =>{
      console.log(`listening on *:${port}`);
    });
  })