Skip to content

sherlock440/test2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This project is the React frontend part of an educational project, which demonstrates connection to the backend for obtaining data and performing CRUD operations on it. Before running the project ensure that the backend is running. In order to configure the base URL for connecting to the backend use .env file (variable REACT_APP_BASE_URL). In order to obtain a configuration file, rename the .env.example into .env.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm install

First of all run npm install for installing node modules.

npm start

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

The page will reload when you make changes.
You may 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.

Run mock server

To run mock server you need to install and run json server in to console.

npm install -g json-server

json-server db.json -p 5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published