Skip to content

First ever react app I've created and of course it's a todo app πŸ˜‰

License

Notifications You must be signed in to change notification settings

ptaushanov/React-Todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‹ React-Todo πŸ“‹

Basic ToDo app created with React

Implements core React concepts and practices Inspired by the Net Ninja's React tutorial. It is a simple ToDo app that allows you to add and delete tasks.

This project was bootstrapped with Create React App.

πŸ”¨ Built With:

βš’οΈ Made with:

πŸ“ Authors:

βš™οΈ Running the project

Running the front-end

npm run start

Default port is set to 3000.


Running the back-end

In the root directory is located the data directory where a file named db.json is located. That will be the database. We will be using json-server module to update the db.json file and handle the requests from the front-end

To start json-server run:

npx json-server -w "./data/db.json" -p 8000

Port of the back-end server would be 8000

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.