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.
- Install dependencies.
cd server
npm install
cd ../client
npm install
- 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=
- Start the development server.
cd server
npm run dev
- Open a new terminal with
client
as the directory
npm run start