This project is a Node.js application designed to work in both development and production environments using Docker. The application is built with modern JavaScript frameworks.
- Node.js version 18 or higher: Make sure your Node.js version is compatible. You can verify your version with:
node -v
- Docker: Ensure Docker is installed and running on your system. This project uses Docker for both development and production environments.
1- Clone the repository:
git clone https://github.com/ErimTuzcuoglu/FS_Dev_Case.git
cd FS_Dev_Case
2- Install dependencies:
yarn
To run the application locally using Docker in development mode (Recommended):
yarn docker:dev
Or with Node.js (You also need run run mongoDB before execute the below command):
set NODE_ENV=development && yarn dev
For running the application in production mode using Docker:
yarn docker:production
In Development, it redirects to /docs on default route (/).
http://localhost:3000/docs/
http://localhost:5000/docs/
To run tests:
yarn test