Local Instance Instructions

  1. Open Visual Studio Code. Start up a terminal.
  2. Clone the Github repo.
git clone https://github.com/MAHA-Software-Engineering/NHTSA-Frontend.git
  1. Create new file named ".env.local".
NEXT_PUBLIC_ENVIRONMENT=''

# API GATEWAY ENDPOINTS
NEXT_PUBLIC_FETCH_DATA_ENDPOINT=''
NEXT_PUBLIC_FETCH_REVIEWS=''
NEXT_PUBLIC_SUBMIT_REVIEW=''

# AWS COGNITO
COGNITO_CLIENT_SECRET=
  1. Install dependencies from Node.js.
npm i
  1. Run the development server through the terminal.
npm run dev
  1. Open a new terminal, and run the following file.
python src\components\utilities\scraperApi.py

Developer Due Diligence

  1. Ensure that you always run npm run build before pushing any code to lint any possible errors or warnings.
  2. Any components/code that seems to be overbearingly long, please decompose into smaller, more manageable sections separated by concern.