/cototask

nodejs mongodb task CRUD 🗒️

Primary LanguageCSSApache License 2.0Apache-2.0

REQUIREMENTS

Nodejs Mongodb
 node logo  node logo

START THE PROJECT

  1. Open your terminal on your computer.

  2. Git clone https://github.com/alexandermontillarivera/cototask.git.

  3. cd cototask dir.

  4. Find the .env-example file and rename it to .env.

  5. Open the .env file and add the settings.

APP_PORT = // Port where you want to run the app, by default if you do not put any it is 3000.

APP_SECRET_COOKIE_NAME = // It is a secret word with which session cookies are created.

// These data are necessary for the operation of the app, you can install Mongodb or use mongodb atlas.

DATABASE_USER = // Your db user
DATABASE_PASSWORD = // Your db pass
DATABASE_HOST = // Your db host
DATABASE_NAME = // Your db name
  1. Open your terminal inside the project and run npm install or npm i.

  2. Open your terminal inside the project and run npm run start.

  3. Look at the terminal logs and look for the url where your application is running