-
Techstack Used
- NextJS
- Prisma
- Shadcn UI (For styling)
- PostgreSQL - (But you can say that it has Some NoSQL tendencies)
- NextAuth
-
What is this project all about
- All this content delivery platform and the code structure is litle bit inspired from CMS Reposity of code100x.
- Currently this platform supports tutorials in form of books with multiple chapters.
- Slowly thinking of expanding to course as well.
- Clone the Repository
git clone https://github.com/vivek6201/letscode-v2.git
- Install dependencies with
yarn install
- Copy .env.example to .env
cp .env.example .env
- Paste your DB URL in .env:
- Either get from any provider
- or start a local instance using docker
docker volume create lets-code-volume docker run -d -p 5432:5432 --name lets-code -v lets-code-volume -e POSTGRES_PASSWORD=mysecretpass postgres
- Migrate your database
npx prisma migrate dev
- finally run app with
yarn dev