This is a hands-on project from the Udemy course - The Advanced Web Developer Bootcamp by Colt Steele. You can find the refactered with MERN stack version here.
You can see a complete working example here. Or you can run the demo on your local machine, please follow the instructions in Getting Started.
- A simple todo-list app using jQuery, Express.js and Node.js
- RESTful API:
-------------------------------------------------------------------------
Todos Route
-------------------------------------------------------------------------
[Method] [Route]
GET /api/todos Fetch all todos
POST /api/todos Create a new todo
GET /api/todos/:id Fetch a todo status
POST /api/todos/:id Toggle (complete or not) a task
PATCH /api/todos/:id Update the todo content
DELETE /api/todos/:id Delete todo
Check package.json
file for more information.
Follow the instructions below to set up the environment and run this project on your local machine. Note that you should setup your MongoDB Atlas Cluster first to get your database. You can find the Quick Note here.
- Clone this repository.
# Clone repository
$ git clone https://github.com/Hsins/udemy_jQuery-Todo-List.git
- Install dependencies via NPM or Yarn
# Install dependencies via npm
$ npm install
$ cd client
$ npm install
$ cd ..
# Install dependencies via yarn
$ yarn install
$ cd client
$ yarn install
$ cd ..
- Run the server.
# Run server
$ npm run server
All the notes I took in Markdown (.md) format. You can find them in my Udemy-Notes repository. The note for this course is here.
Licensed under the MIT License, Copyright © 2017-present Hsins.