Skip to content

edrisnas91/back-end-nodejs-sample

Repository files navigation

test-backend

this server configed for nourse project.

install dependencies

npm install
Or
yarn

configuration Database

database has location cordination so it's need postgis extention.
for install it on ubuntu use following command:
sudo apt install postgis postgresql-14-postgis-3
after installing extention you can create database via following command in postgerss command line
CREATE DATABASE "test-db";
\connect "test-db";
CREATE EXTENSION postgis;

migration command

to migrate the database use following command
cd server
npx sequelize-cli db:migrate

developmet command for run project

npm run dev
Or
yarn dev

production command for run project

npm run start Or yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published