Cope With Covid

Web Application based on:

  • React
  • PostgreSQL
  • ExpressJS
  • NodeJS

Getting Started

  1. Install NodeJS
  2. Create parent directory, install create-react-app and express-generator.
  • npm install create-react-app
  • npm install -g express-generator
  1. Clone this repository in parent directory.
  • `git clone (directory-link)
  1. 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.
  1. 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"
  1. 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