TimeForge Backend Server serves as the backbone of the TimeForge project, providing essential functionalities for event management and user authentication.
- DAILY_TOKEN: Daily.co
- DB_USER: MongoDB username
- DB_PASSWORD: MongoDB password
- MAIL: Gmail
- PASS: Gmail Apps Password
- TYPE: service_account
- PROJECT_ID: Firebase project id
- PRIVATE_KEY_ID: Firebase project private ID
- PRIVATE_KEY: Firebase project private key
- CLIENT_EMAIL: Service account mail
- CLIENT_ID: Service account Id
- AUTH_URI: https://accounts.google.com/o/oauth2/auth
- TOKEN_URI: https://oauth2.googleapis.com/token
- AUTH_PROVIDER_X509_CERT_URL: https://www.googleapis.com/oauth2/v1/certs
- CLIENT_X509_CERT_URL: CERT url of googleapi
- UNIVERSE_DOMAIN: googleapis.com
-
Clone the repository:
git clone https://github.com/CareerNavigators/timeforge-server.git
-
Navigate to the project directory:
cd timeforge-server -
Install dependencies:
npm install
-
Create a
.envfile:- Create a
.envfile in the root directory of your project. - Copy the required environment variables from the provided
.env.examplefile.
- Create a
-
Start the development server:
npm run dev
-
View the app:
- Open your browser and navigate to http://localhost:5111 to view the server.
That's it! You've successfully set up and run the app with locally.