An ExpressJS server to handle auth request
Before running the backend service locally, ensure you have the necessary tools and configurations in place.
-
Install Node JS Make sure you have Node installed on your local computer. Follow the Download & Install Node Js guide.
-
Authenticate with MongoDB Database and Configure with Mongoosh Authenticate your local machine with MongoDB database Credentials. Refer to the MongoDB documentation for detailed instructions.
-
Authenticate with OAuth Google Follow this step to authenticate with OAuth Google.
-
Run the Backend Service To run the backend service, follow these steps:
- Clone this repository to your local directory:
git clone https://github.com/nandiwaelur/BE-Jalanku.git .
- Install the required dependencies using npm:
npm install
- Create a new file named
.env
similar to.env.example
and fill it with the keys from steps 2 and 3.
- Clone this repository to your local directory:
-
Start the Express Js server in development mode: