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.
- Visual Studio Code - The IDE used
- Petar Taushanov - ptaushanov
npm run start
Default port is set to 3000.
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
In the project directory, you can run:
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.
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.
This project is licensed under the MIT License - see the LICENSE.md file for details.