Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 872 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 872 Bytes

ParkNow

ParkNow is a website that allows users to search for car park lots availability around Singapore.

The website is available here. The data used is provided by LTA's Carpark Availability API.

Run the application locally

Requirements

Install and run in a local environment

  1. Install dependencies.
cd server
npm install
cd ../client
npm install
  1. Under the server folder, create a .env file with the following contents filled up:
# mongoDB uri
MONGODB_URI=

PORT=3001

# api key from LTA
API_KEY=

# mogonDB uri for testing
TEST_MONGODB_URI=
  1. Start the development server.
cd server
npm run dev
  1. Open a new terminal with client as the directory
npm run start