Todo App With Login System, Built using MongoDB , Express.js , and Node.js
Demo App: https://zekais-todo.herokuapp.com/
> git clone https://github.com/fawwaz37/todo-express-mongodb.git
> cd todo-express-mongodb
Edit the required value in folder controllers
file config.js
.
module.exports = {
port: '3030', // http://localhost:3030
dbURI: 'mongodb+srv://xxx'
}
port
: PORT localhost.
dbURI
: your MongoDb URI.
- Sign In Mongodb
- Create a Database.
- Create Free Cluster.
- Choose Cloud Provider & Region.
- Select
Connect
. - Add a Connection IP Address.
- Create a Database User
- Choose Connect Your Application
- Change
<password>
with Your Password Database Userstep 7
> npm install
> npm start
Then Browse http://localhost:3030 . You will see the Homepage.