Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.32 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.32 KB

Crud Project

JavaScript CRUD project using React and full fake REST API with JSON Server

prettier GitHub

This project was created with:

  • JavaScript
  • React
  • Json server
  • Axios

How to Use

# Clone this repository
$ git clone https://github.com/rminelli/crud-project

# Go into the repository
$ cd crud-project

# Backend
$ cd backend

# Install dependencies
$ npm install

# Run backend
$ npm start
Backend runs with json-server
Resources: http://localhost:3001/users

# Frontend
$ cd frontend

# Install dependencies
$ npm install

# Run frontend
$ npm start

Runs the app in the development mode
Open http://localhost:3000 to view it in the browser. (This usually happens automatically)

# Run test
$ npm test

Launches the test runner in the interactive watch mode
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests)

# Build
$ 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.

❤️