Compare assignment submissions for lexical similarity.
Follow the instructions given below to get this project up and running on your local machine.
- Javascript
- Node.js
- Express.js
- MongoDB
- Docker
- Github Actions
- Heroku
- Clean Architecture
- Domain Driven Design
- ES6+
- Dependency injection
Make sure you have the following installed:
- Clone this repository by running
git clone repo_url
- Change your directory to the project's directory by running
cd project_directory
- Create a .env file and fill in all the values specified in the
env.schema
file - Build the docker image
docker build -t assignment-checker -f Dockerfile .
. - Run the image
docker run --rm -it -p [PORT]:[PORT] --name assignment-checker --env-file .env assignment-checker
- Access the app by opening up http://localhost:[PORT]/ on your browser.
NOTE:
To use a local mongodb cluser run:
docker run --rm -it --name assignment-checker -p 5432:5432 --env-file .env --env MONGO_HOST=host.docker.internal assignment-checker
- test: Run both unit and integration tests
- build: Compile the source-code (/src) to generate code that can be deployed (/dist)
- start:dev: Run the app in development mode. The app is restarted on any file change, which makes development a bit faster.
- lint: Lint code using ESLint
- prestart: Runs before the app starts. Runs the build scripts
- start: Starts the app in production mode
View the API Documentation here
George Benjamin