Skip to content

bgoonz/express-API-template

Repository files navigation

Express API template

Live API endpoint: https://express-api-template.herokuapp.com/v1

How to run the app

  1. Create a .env file at the project root and provide the following environment variables

    TEST_ENV_VARIABLE="some arbitrary string" CONNECTION_STRING="a url pointing to a PostgreSQL database" PORT="port number to serve the files. defaults to 3000"

  2. Open a terminal in the project root and run yarn install to install the project dependencies.

  3. Run yarn test to make sure everything is working correctly.

  4. Run yarn startdev to start the development server

  5. Open http://localhost:3000 or use whatever port you supplied in your environment variable.

  6. Remember to replace the badges with your custom badges

How to test

  1. Run yarn install to install project dependencies
  2. Run yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy