This is a simple task manager app hosted at https://nodejs-task-manager-9jy2.onrender.com/ built with Node.js, Express.js, and MongoDB. The app allows users to create, read, update, and delete(CRUD functionality) tasks.
- Clone the repository:
git clone https://github.com/Carbrex/Node-express-tutorial.git - Install dependencies:
npm install - Set up a MongoDB database either locally or with a cloud provider (e.g. Atlas)
- Set environment variables in a
.envfile:
MONGO_URI- connection URL for your MongoDB database - Start the server:
npm start
Then navigate to http://localhost:3000/ in your browser.
Or you can use tools like Postman or curl to send HTTP requests to these APIs.