Skip to content

NikitaMasl/location-app-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

location-app-api

Written with Nextjs and TypeScript

local deployment

make sure that port 27027 is free run next command to up mongoDB container from root directory

docker-compose -p location-app-api -f deploy/docker-compose.local.yml up --force-recreate --build -d

next, navigate to core dir and run

npm run start:dev

in core/.env you can specify other environment vars. By default core-srvice runs on 8000 port

You can study API documentation on

${BASE_URL}/api/docs

production deployment

create docker network in your enviroment with next command

docker network create location-app-api

and from root directory up core and db containers

docker-compose -p location-app-api -f deploy/docker-compose.prod.yml up --force-recreate --build -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published