Skip to content

Casperfeng/reddit-inspired-forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project logo

Fullstack project based on this stack:

  • React
  • TypeScript
  • GraphQL
  • URQL/Apollo
  • Node.js (with express)
  • PostgreSQL
  • MikroORM/TypeORM
  • Redis
  • Next.js
  • TypeGraphQL
  • Chakra
  • Docker

Server

Navigate to the server repository:

cd server
  1. Install dependencies
yarn
  1. Update js files in /dist folder
yarn run tsc -w
  1. Start server with nodemon (running on js)
yarn run dev

Run local postgres database and redis for development

Setup an .env (used for dev environment) file in the server folder with these variables set:

POSTGRES_PASSWORD
POSTGRES_USER
POSTGRES_DB
JWT_SECRET

After this you can run:

docker-compose -f dev.docker-compose.yml up -d

Client

Navigate to the client repository:

cd client
  1. Install dependencies
yarn
  1. Start next.js client
yarn next dev

Setup an .env (used for dev environment) file in the client folder with these variables set:

API_URL

About

Fullstack project with cool tech

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published