A file storage app using cloudinary to store files and Prisma ORM to manage sql.
Get a copy of the repo
In the root directory
npm install
Create .env file in the root directory and add the following
DATABASE_URL="postgresql://<db role>:<db password>@<db host>/<db name>?sslmode=require"
CLOUDINARY_API_KEY="<your cloudinary api key>"
CLOUDINARY_API_SECRET="<your cloudinary api secret>"
SESSIONSECRET="<your session secret>"
In the root folder run
npx prisma generate
In development
npm run dev
In production
npm run start
Open your browser and navigate to http://localhost:3000
- Log in
- Sign up
- Log out
- Add File
- Delete File
- Dowload File