Skip to content

The app to have all your reading material at single place

Notifications You must be signed in to change notification settings

thinley4/resourcesite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup

Prerequisite

  • Docker & Docker Compose Installed (not required if you use your own postgres db,but don't forget to change the .env file accordingly)

  • npm & NodeJs

  • Download the Modules zip from here - Modules.zip - for development purpose these pdf are enough

  • Extract Modules.zip content to public folder after cloning the project

Module.zip Structure

/SubjectCode/SubjectCode_ModuleNo.pdf eg. 22CSE249/22CSE249_2.pdf


Run the commands one by one:

  1. Clone the repository
> git clone https://github.com/anisharaz/resourcesite.git && cd resourcesite

  1. Run the PostgreSQL db container (this step can be skipped if local database is setup)
> docker compose up -d
  1. Install the necessary dependencies
> npm i
  1. Setup environment variables
> cp .env-example .env
  1. Update the database with the changes defined in schema.prisma
> npx prisma migrate
  1. Seed database with initial data
> npx prisma db seed
  1. Start the development server
> npm run init

> npm run dev

About

The app to have all your reading material at single place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.2%
  • Python 8.3%
  • Other 1.5%