Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

GovTechSG/govt-review-frontend

Repository files navigation

Product Review Platform

This project has been ported over to another repository for maintenance. As a result, this repo will be archived and made read-only.

GRP-React

Welcome! This document details the setting up of a development environment. The project uses the following frameworks:

Setup

  1. Clone the project

    cd into the location you would like to clone the project to

    run this command on terminal:

     git clone https://github.com/GovTechSG/govt-review-frontend
    
  2. Configure project

    cd into the root directory of the project

    run these commands on terminal:

     npm install
    
  3. Test run

    Ensure that the backend is running first on http://localhost:3000/.

    Then in the project root directory of the frontend,

    • Test if the project is setup properly:

        npm start
      
    • open http://localhost:5000/ on your browser. you should see a login page.

    • Login with credentials:

        username: bgp
        password: test12
      
    • If authentication fails, check that the backend is running and that the database has been seeded

  4. Sanity Check

    • To run sanity check, run:

        npm test
        npm run eslint
      

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages