Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
58 lines (38 loc) · 1.33 KB

File metadata and controls

58 lines (38 loc) · 1.33 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Contribution guidelines

Pre-requisites

Assuming that Node.js is already installed.

  • MongoDB : NoSQL database
  • Mongosh : MongoDB shell
  • Pnpm : Package manager (optional but recommended)

Setup

  1. Install the dependencies.

This will install all the dependencies for both the backend and the frontend

pnpm install:all
  1. Make sure your MongoDB server is running.

This is for linux systems only. For windows, please refer to the official documentation.

# Start the server
sudo systemctl start mongod

# Check the status
sudo systemctl status mongod
  1. Seed the database with test data.

You can find the initial seed data in backend/scripts/test-data.json.
If needed you can also modify this file to add more data for testing purposes.

pnpm backend:seed
  1. Start the application.

This will start both the backend and the frontend servers in development mode concurrently.

pnpm start:dev

If you want to start the backend and the frontend servers separately, you can use the following commands.

# Start the backend server
pnpm backend:dev

# Start the frontend server
pnpm frontend:dev
Morty Proxy This is a proxified and sanitized view of the page, visit original site.