- Create .env from .env-example file and provide your database connection string. e.g: DATABASE_URL=postgres://postgres:password@localhost:5432/dbname
- Run below command
This will create tables and fill the data in it.
This will run both experss and react server simultaneously. Open React side at http://localhost:3000 Open Express server on http://localhost:4000
Start server on production.
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.