Skip to content

WebExp0528/gmail-contacts-extension-server

Repository files navigation

gmail-extension-server

Gmail Chrome Extension Backend

Set up Configuration

Copy and fill out the env file

cp .env.example .env
# Server PORT
PORT=

# DB Configuration
DB_HOST= // if you are using docker, please set as 'db'
DB_USER=
DB_PASS=
DB_NAME=

Running Server

With Docker

1. Build docker image

docker-compose up --build

2. Running server with detach mode

docker-compose up -d

Without Docker

1. Install npm packages

yarn install or npm install

2. Running with development mode

yarn dev or npm run dev

3. Running with production mode

yarn build or npm run build
yarn start or npm start

Swagger API Docs

http://localhost:${PORT}/docs

Notes

  • Tsoa doesn't like Omit<>. Use Pick<> instead, even if more verbose

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published