1. Prompt API: https://github.com/Aiiii-den/IKT_promptAPI
2. Writings API: https://github.com/Aiiii-den/IKT_writingsAPI
3. Images API : enables write, read all and read one functionality
Local Endpoints:
POST: https://localhost:8080/image
GET one: https://localhost:8080/image/:id
GET all: https://localhost:8080/image
Deployed Endpoints:
GET one: https://ikt-imagesapi-new.onrender.com/image/:id
GET all: https://ikt-imagesapi-new.onrender.com/image
- Clone repository locally
- Run
npm i
- Set up MongoDB (https://www.mongodb.com/)
- Create a .env file with the following structure and add your database, web push and web push subscription credentials
DB_CONNECTION: mongodb+srv://<user>:<password>@<collectionId>.mongodb.net/?retryWrites=true&w=majority DATABASE: <database> PUBLIC_KEY = <public web push subscription key> PRIVATE_KEY = <private web push subscription key> ENDPOINT = <subscription endpoint> P256DH_KEY = <subscription p256dh> AUTH_KEY = <subscription auth>
- Run with
npm run watch
- Stop with
Ctrl + C
Frontend repository can be found at the following URL: https://github.com/Aiiii-den/IKT_frontendNew
Or deployed at: https://ikt-frontend-new.vercel.app/