- Open Visual Studio Code. Start up a terminal.
- Clone the Github repo.
git clone https://github.com/MAHA-Software-Engineering/NHTSA-Frontend.git
- 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=
- Install dependencies from Node.js.
npm i
- Run the development server through the terminal.
npm run dev
- Open a new terminal, and run the following file.
python src\components\utilities\scraperApi.py
- Ensure that you always run
npm run build
before pushing any code to lint any possible errors or warnings. - Any components/code that seems to be overbearingly long, please decompose into smaller, more manageable sections separated by concern.