This is my react-boilerplate for future personal projects
- Install all required dependencies
npm install
- Start the application
npm run dev
- Go to localhost:3000 in your browser
- Create a database in PostgreSQL
- Add the DATABASE_URL info in the .env file
- Require the database module in index.js
- Require the session middleware module in index.js
- Call the use method of app and pass in the session middleware as an argument