Skip to content

clarawu0608/VMKS-Website-1

 
 

Repository files navigation

Virtual Makerspace

Development

Use Specific NodeJS Version

This can switch NodeJS version to v18.16.0(You should first have NodeJS v18.16.0 installed)

nvm use

Install the dependencies

This will install all dependencies for the app

pnpm install:all

Start React app(frontend)

pnpm frontend

This will run react app at port 3000

Start database

This will have postgres and adminer running for the backend

docker-compose up -d

Start Apollo Server(backend)

pnpm backend

This will run apollo graphql playground at port 5000

Test Prisma(backend)

cd backend
pnpm generate
pnpm migrate

you can then use adminer at port 8080, or run

pnpm studio

to open up prisma studio to check whether the data is properly saved

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.7%
  • HTML 12.9%
  • CSS 4.4%