a paste service made with NestJS and Prisma https://pastey.paas.juke.fr/
 
 
Go to file
Kay ea3472b59d readme 2023-11-01 23:34:36 +01:00
prisma make paste language optionnal 2023-11-01 19:40:45 +01:00
src cors 2023-11-01 22:02:10 +01:00
test 204 on delete 2023-11-01 20:43:08 +01:00
.README.template.md readme 2023-11-01 23:34:36 +01:00
.env.development add testing setup database and scripts 2023-11-01 18:47:43 +01:00
.env.test add testing setup database and scripts 2023-11-01 18:47:43 +01:00
.eslintrc.js init 2023-11-01 15:58:43 +01:00
.gitignore init 2023-11-01 15:58:43 +01:00
.prettierrc init 2023-11-01 15:58:43 +01:00
Dockerfile prisma generate 2023-11-01 21:11:03 +01:00
README.md readme 2023-11-01 23:34:36 +01:00
docker-compose.yml add testing setup database and scripts 2023-11-01 18:47:43 +01:00
nest-cli.json init 2023-11-01 15:58:43 +01:00
package-lock.json add testing setup database and scripts 2023-11-01 18:47:43 +01:00
package.json dockerfile and migrate on prod 2023-11-01 20:57:46 +01:00
tsconfig.build.json init 2023-11-01 15:58:43 +01:00
tsconfig.json init 2023-11-01 15:58:43 +01:00

README.md

pastey

a paste service made with NestJS and Prisma

Deployment

Available on https://pastey.paas.juke.fr/

A quick frontend demo is available here https://codeberg.org/juke/pastey-front

Usage

Not really any docs yet, check out test/app.e2e-spec.ts and requests.http files.

Prisma

$ npx prisma migrate dev # Generates the migration
# Also applies a 
# $ prisma generate
# which will create the corresponding type annotations for our schema to use in TS
$ npx prisma studio # Explore the database on http://localhost:5555
$ npm run db:dev:recreate # Recreate db and apply migrations

Development

To clone the repository locally:

$ git clone https://codeberg.org/juke/pastey.git

Contributing

Feel free to contact via the email bellow with a patch or anything.

Issues

Open new issues by mailing issues+pastey@juke.fr


beep boop