Skip to content

fries-uet/edoo-ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for Edoo Social

Config

Tạo file .env ở thư mục gốc. Tạo database "Edoo" Ví dụ:

SERVER_ADDRESS=localhost
SERVER_PORT=2344
SERVER_KEY=com.fries
SERVER_NAME=localhost

DB_HOST=localhost
DB_USER=root
DB_NAME=edoo
DB_PASSWORD=
DB_CHARSET=utf8

PATH_STATIC_FILE = /Users/TooNies1810/Downloads/upload-file
PATH_FILE_UPLOAD = /attach
PATH_EVENT_UPLOAD = /event
PATH_ZIP_TEMP = /zip-temp

SERVER_STATIC_FILES = localhost

API_FIREBASE_KEY = bla

API_KEY_SENDGRID = blabla

Init database

Chạy knex:

knex migrate:latest
knex seed:run

API Document

https://docs.google.com/spreadsheets/d/1HvkoSS6OSoEWc6cfFKgmyFgaEji7WcQchsxgEdgELSI/edit?usp=sharing

Note

  • Set timzone cho server về UTC

Start server:

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published