Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softmarshmallow/inked-server
☁️ prisma server for inked project
https://github.com/softmarshmallow/inked-server
elasticsearch express mongodb neo4j nlp prisma prisma-client typescript
Last synced: about 1 month ago
JSON representation
☁️ prisma server for inked project
- Host: GitHub
- URL: https://github.com/softmarshmallow/inked-server
- Owner: softmarshmallow
- Created: 2020-03-18T05:49:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T06:02:00.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T13:24:07.097Z (about 2 months ago)
- Topics: elasticsearch, express, mongodb, neo4j, nlp, prisma, prisma-client, typescript
- Language: TypeScript
- Homepage:
- Size: 1.2 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# inked server
> a RealWorld, fully functioning service server built on **prisma / typescript / express
run docker compose
`docker-compose up -d`
> if productioon `sudo docker-compose -f docker-compose-production.yml up -d`## provide credential files
> at `/credentials`, you need `firebase-adminsdk.json` of your own.install prisma cli
`yarn install -g prisma`prisma generate
`prisma generate`prisma deploy
`prisma deploy`run server
`yarn run dev`deploy server production
`pm2 start ecosystem.config.js`### seed
`ts-note src/seed/index/ts`## create mongo db index manually
- News.time -> must create index for better performance### environments
- Prisma
- mongodb
- express
- graphql### siblings
- [inked-news-crawler](https://github.com/softmarshmallow/inked-news-crawler)
- [inked-engine](https://github.com/softmarshmallow/inked-engine)
- [inked-flutter](https://github.com/softmarshmallow/inked-flutter)### realtime communication
socket io related
namespaces
- crawler
- engine
- clientevents by namespaces
- crawler
- on crawled
- engine
- on crawled receive
- on analysis complete
- client
- on new data
- on data update