Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce post comment api #481

Merged
merged 10 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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