joy-of-system-design
An online game to kindle the spark of system design in you.
File Explorer
Download Latest Version (.zip)- post-checkout
- post-commit
- pre-commit
- config.js
- logger.js
- morgan.js
- passport.js
- roles.js
- tokens.js
- auth.controller.js
- index.js
- user.controller.js
- components.yml
- swaggerDef.js
- auth.js
- error.js
- rateLimiter.js
- validate.js
- index.js
- paginate.plugin.js
- toJSON.plugin.js
- graph.js
- graphAndComp.model.js
- index.js
- token.model.js
- user.js
- user.model.js
- auth.route.js
- docs.route.js
- index.js
- user.route.js
- auth.service.js
- email.service.js
- index.js
- token.service.js
- user.service.js
- ApiError.js
- catchAsync.js
- pick.js
- auth.validation.js
- custom.validation.js
- index.js
- user.validation.js
- app.js
- index.js
- token.fixture.js
- user.fixture.js
- auth.test.js
- docs.test.js
- user.test.js
- error.test.js
- paginate.plugin.test.js
- toJSON.plugin.test.js
- user.model.test.js
- setupTestDB.js
- .dockerignore
- .editorconfig
- .env.example
- .eslintignore
- .eslintrc.json
- .gitattributes
- .gitignore
- .lintstagedrc.json
- .prettierignore
- .prettierrc.json
- .travis.yml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- docker-compose.dev.yml
- docker-compose.prod.yml
- docker-compose.test.yml
- docker-compose.yml
- Dockerfile
- ecosystem.config.json
- jest.config.js
- LICENSE
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/InterviewReady/joy-of-system-design
Downloads the entire project code from GitHub to your computer.
cd joy-of-system-design
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker-compose.dev.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
