GithubHelp home page GithubHelp logo

saikatxshrey / task-manager-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 52 KB

Api for managing tasks made with Node, Express, MongoDB, Mongoose

JavaScript 41.49% HTML 16.62% CSS 41.89%
nodejs expressjs mongodb mongoose

task-manager-api's Introduction

Task Manager API

Api for managing tasks, you can add, edit, mark, delete tasks accordingly

Made with Node, Express, MongoDB, Mongoose

Demo

Task.Manager.-.Google.Chrome.2021-09-12.13-00-28.mp4

Screenshots

Screenshot (47) Screenshot (48) Screenshot (49) Screenshot (51) Screenshot (52)

API Reference

Get all tasks

  GET /api/v1/tasks

Create task

  POST /api/v1/tasks

Get Single task

  GET /api/v1/tasks/:ID
Parameter Type Description
id string Required. ID of task to fetch

Update task

  PATCH /api/v1/tasks/:ID
Parameter Type Description
id string Required. ID of task to update

Delete task

  DELETE /api/v1/tasks/:ID
Parameter Type Description
id string Required. ID of task to delete

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGO_URI = mongodb+srv://:@nodeexpressprojects.50qvu.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

PORT = port no you want to run in

npm packages used

dependensies

express

  npm i express --save

mongoose

  npm i mongoose

dotenv

  npm i dotenv

dev-dependensies

nodemon

  npm i nodemon

Run On Local-Machine

To startup nodemon

  npm start

Manual start

  node app.js

Explicit port initialization

  PORT=<port-no> npm start
  PORT=<port-no> node app.js

task-manager-api's People

Contributors

saikatxshrey avatar

Stargazers

Riya Mandal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.