Local Instance Instructions
- 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.
- Run the development server through the terminal.
- 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.