Web Application based on:
- React
- PostgreSQL
- ExpressJS
- NodeJS
- Install NodeJS
- Create parent directory, install create-react-app and express-generator.
npm install create-react-app
npm install -g express-generator
- Clone this repository in parent directory.
- `git clone (directory-link)
- The directory structure is as follows:
- portal => Contains source files for front-end of the application.
- portal-api => Contains source files for the ExpressJS backend.
- Once the repo is clone, do the following:
- In CMD, enter the portal-api folder and run
npm install
- Once all dependencies are intalled, run
npm start
- Server should start on port 3005 with message "Server is running on port 3005"
- Once the server is up, in CMD enter the "portal" folder and run the following:
npm install
npm start
- The application should open on the browser on localhost:3000