Code Monkey home page Code Monkey logo

cool-project's Introduction

cool-project

Installation

To run this project, you will need to have Docker and Docker Compose installed on your system.

This project uses env variable to configure, you should have .env file for certain values such as:

  • PORT= desired port, default will be 3000 if not set
  • ACCESS_TOKEN= github access token
  • MONGODB_URI=Mongo db uri, default will be mongodb://mongo:27017/app-db if not set

Starting the Docker containers:

Run the command docker compose up --build -d && docker compose logs -f to start the application, if it is successfull express server will be available at localhost:3000, application has swagger for api documentation it is accessible through localhost:3000/api-doc.

If the application starts but endpoints are not responding, it might releated to line endings, try cloning again with --config core.autocrlf=input flag.

Run docker compose down for stopping the docker containers.

For local development you need to have node and npm installed, simple cd into the root of the project and do a npm i command.

Tests

Application uses jest and ts-jest for unit testing, run npm run test for running the unit tests.

License

This project is licensed under the MIT License.

cool-project's People

Contributors

alperenn123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.