Example Back-end Node Application
Go to file
2024-01-14 07:04:58 -08:00
.vscode initial commit. 2024-01-12 17:19:49 -08:00
migrations initial commit. 2024-01-12 17:19:49 -08:00
src refactored the app export. Update readme. 2024-01-14 07:04:58 -08:00
.env.example initial commit. 2024-01-12 17:19:49 -08:00
.gitignore initial commit. 2024-01-12 17:19:49 -08:00
docker-compose.yml initial commit. 2024-01-12 17:19:49 -08:00
knexfile.js initial commit. 2024-01-12 17:19:49 -08:00
package-lock.json initial commit. 2024-01-12 17:19:49 -08:00
package.json refactored the app export. Update readme. 2024-01-14 07:04:58 -08:00
README.md refactored the app export. Update readme. 2024-01-14 07:04:58 -08:00

README.md Generator for Node.js Application

Setting up the Application

To set up this Node.js application, follow the instructions below:

  1. Copy .env.example to `.env Open your terminal and navigate to your project's root directory.

    $ cp .env.example .env
    
  2. Modify the .env file if you wish. The DB_URL should already be set correctly.

  3. Start the postgres database:

    $ docker-compose up -d
    
  4. Install the packages

$ npm i
  1. Run the tests
$ npm run test
  1. Start the Express application.
$ npm run serve