Skip to content

nitaliano/todo-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-react

A simple todo app built with express, react, and bootstrap.

Install

npm install

Env file setup

I'm using dotenv for my enviroment file. All you'll need to do is create a file called .env and set the port in the file.

Here is an example

PORT=80

Express is looking for this config under process.env.PORT I'll be adding a gulp task for this soon

Run

npm start

This will start the watch task, and the node server. You'll see more information in the terminal if you're curious

UI Routes

/ The default route is where you can create a new list
/list/:id This route is where you can update a list

Api Routes

/api/todolist - POST, create a new list
/api/todolist/:id - GET, get your list
/api/todolist/:id - PUT, update your list

About

A simple todo react app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published