REQUIREMENTS
Nodejs | Mongodb |
---|---|
START THE PROJECT
-
Open your terminal on your computer.
-
Git clone https://github.com/alexandermontillarivera/cototask.git.
-
cd cototask dir.
-
Find the .env-example file and rename it to .env.
-
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
-
Open your terminal inside the project and run npm install or npm i.
-
Open your terminal inside the project and run npm run start.
-
Look at the terminal logs and look for the url where your application is running