Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjtim/sa-freelance-architect
Platform aiming to manage freelance job with reviewing system, feedback, payment - built with NextJS, SSR, Vercel function, Postgresql
https://github.com/cjtim/sa-freelance-architect
Last synced: 10 days ago
JSON representation
Platform aiming to manage freelance job with reviewing system, feedback, payment - built with NextJS, SSR, Vercel function, Postgresql
- Host: GitHub
- URL: https://github.com/cjtim/sa-freelance-architect
- Owner: cjtim
- License: mit
- Created: 2021-09-20T10:42:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-03T11:55:25.000Z (about 3 years ago)
- Last Synced: 2024-04-17T04:36:55.841Z (7 months ago)
- Language: TypeScript
- Homepage: https://sa-freelance-architect.vercel.app
- Size: 3.08 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Environment
* master branch - [http://sa-freelance-architect.vercel.app](http://sa-freelance-architect.vercel.app)
* ![prod status](https://img.shields.io/github/deployments/cjtim/sa-freelance-architect/production)
* staging branch - [https://sa-freelance-staging.vercel.app](https://sa-freelance-staging.vercel.app/)
* ![preview status](https://img.shields.io/github/deployments/cjtim/sa-freelance-architect/preview)## Prerequisite
* Node 12-14
* yarn - `npm install --global yarn`
* `.env.development` on root of repository## Start Development
* `yarn install`
* `yarn dev`## Database migration
1. export these env in terminal or edit directly into `ormconfig.js`
```
export PSQL_HOSTNAME=
export PSQL_PASSWORD=
export PSQL_USERNAME=postgres
export PSQL_DATABASE=postgres
```
2. `yarn db-generate`
3. `yarn db-migrate`## env
```
NEXT_PUBLIC_LIFF_ID=
PSQL_HOSTNAME=
PSQL_PASSWORD=
PSQL_USERNAME=postgres
PSQL_DATABASE=postgres
FIREBASE_ACC=
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=xx-xxxxxxx-xxxxx
```