This is a test project to learn about react.
- Run
npm installin the backend directory. - Copy the .env.example file to a new file in the same location called .env
- The server should be listening for requests on port
5000
- The server should be listening for requests on port
- Run
npm run db:setup- create the database and tables and insert seed datanpm start- start the backend server
- Run
npm installin the frontend directory. - Run
npm startin the frontend directory to start the server.- Note that the package.json now defines a proxy of http://localhost:5000. This will effectively forward any unrecognized requests to the port (
5000) on which your backend is listening.
- Note that the package.json now defines a proxy of http://localhost:5000. This will effectively forward any unrecognized requests to the port (
- Open http://localhost:3000 to see the frontend