Skip to content

Commit

Permalink
move files to server directory (#14)
Browse files Browse the repository at this point in the history
* move files to server directory

* Fix ci

* oops

* Cleanup

* Another fix
  • Loading branch information
alexzhang1618 authored Dec 16, 2024
1 parent 4b5deb0 commit 7748bb8
Show file tree
Hide file tree
Showing 26 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @echang594 @jennymar
* @echang594 @jennymar @alexzhang1618
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linting and Testing
name: Backend - Linting and Testing
on:
pull_request:
branches:
Expand All @@ -16,10 +16,13 @@ jobs:
node-version: '20'

- name: Install dependencies
working-directory: ./server
run: yarn install --frozen-lockfile

- name: Run ESLint
working-directory: ./server
run: yarn lint

test:
runs-on: ubuntu-latest
needs: lint
Expand All @@ -33,7 +36,9 @@ jobs:
node-version: '20'

- name: Install dependencies
run: yarn install
working-directory: ./server
run: yarn install --frozen-lockfile

- name: Run tests
working-directory: ./server
run: yarn test
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# hackathon-portal
## Hackathon Portal

## Setup
1. Copy `.env.example` to `.env` and fill in the values
1. Start up Docker Desktop
2. Spin up Postgres:
```bash
docker-compose up
```
# Repo Structure
- `server`: backend
- `client`: frontend
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Setup
1. Copy `.env.example` to `.env` and fill in the values
1. Start up Docker Desktop
2. Spin up Postgres:
```bash
docker-compose up
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7748bb8

Please sign in to comment.