Skip to content

Commit

Permalink
Refactor project structure by moving server files to a dedicated dire…
Browse files Browse the repository at this point in the history
…ctory and updating configuration files
  • Loading branch information
ix-benjaminm committed Oct 7, 2024
1 parent 49116d7 commit ece0739
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 526 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: 22

- name: Install server dependencies
run: npm install
run: cd server && npm install

- name: Install client dependencies
run: cd client && npm install
Expand All @@ -31,7 +31,7 @@ jobs:
run: |
mkdir -p upload
cp -r client/build upload/
cp -r . upload/
cp -r server/ upload/
- name: Start server
run: nohup npm run start &
Expand Down
22 changes: 0 additions & 22 deletions db.ts

This file was deleted.

24 changes: 24 additions & 0 deletions server/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.env

npm-debug.log*
yarn-debug.log*
yarn-error.log*
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ece0739

Please sign in to comment.