Skip to content

Commit

Permalink
Merge pull request #481 from project-violet/server-comment
Browse files Browse the repository at this point in the history
Introduce post comment api
  • Loading branch information
violet-dev authored Aug 18, 2024
2 parents bb787c9 + 3b3e4ca commit 650ac9f
Show file tree
Hide file tree
Showing 15 changed files with 4,023 additions and 116 deletions.
14 changes: 14 additions & 0 deletions violet-server/.test.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NODE_ENV=test
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=root
DB_DB=violet-test
ACCESS_TOKEN_SECRET_KEY=asdf
REFRESH_TOKEN_SECRET_KEY=asdf
ACCESS_EXPIRES=86400
REFRESH_EXPIRES=31536000
SALT=1234
REDIS_HOST=localhost
REDIS_PORT=6379
IS_MASTER_NODE=true
3 changes: 2 additions & 1 deletion violet-server/config/database.sql
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CREATE SCHEMA IF NOT EXISTS violet;
CREATE SCHEMA IF NOT EXISTS violet;
CREATE SCHEMA IF NOT EXISTS `violet-test`;
Loading

0 comments on commit 650ac9f

Please sign in to comment.