Clone the repo to your device.
-
Make sure you have installed yarn on your device
-
Install the node modules:
yarn install
- Copy and Configure the .example.env then rename it as
.env
, then it should look like
ENV=DEV
MONGODB_URI=mongodb://localhost:27017/
PORT=4000
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_USER_REDIRECT_URI=
GOOGLE_ADMIN_REDIRECT_URI=
JWT_SECRET=
FRONTEND_URL=
....
- Copy and Configure the config.example.ts then rename it as
config.ts
, then it should look like
const config = {
db: "bill-Buddy",
port: parseInt(process.env.PORT ?? "4000"),
};
export default config;
- Start the server in development mode:
yarn run dev
The server should be ruuning at your local host port 4000.
The frontend for this: https://github.com/Bill-BuDyy/Bill-Buddy-App
Join our Discord Channel for more info: https://discord.com/invite/tuWBYEg6