Skip to content

EagleLizard/eaglelizard-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eaglelizard-api

Getting Started

install dependencies:

npm i

Local Dev

This project uses Typescript.

dotenv

config and secrets can be stored in a .env file locally for testing:

touch .env

add the following to specify port for the config:

PORT=4369

TS Compilation

Compile with typescript:

tsc

or to run in watch mode, open a separate terminal and run:

npm run dev

Or with your global ts compiler:

tsc -w

Running the server

run:

npm start

This will run nodemon to watch for changes in the compiled assets under /dist

Testing your dev environment

This project has a /healthcheck endpoing that you can hit to test your environment. From Postman/Insomnia, or in the browser:

GET localhost:4369/healthcheck

You should see output in the console, and in the logs/<logfile> via:

tail -f logs/eaglelizard-api.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published