Pathokun, a path generator, update your content just with your frontend by HTTP GET Request! In this way you can make Full-Stack project without any backend with any programming language.
Pathokun removes the taboo that you can't have a Full-Stack project without a backend.
Firstly you will need to add the following environment variables to your .env file
JWT_PRIVATE_SECRET
= Secret key for private token
According to the Pathokun use purpose, you must first create a endpoint by have in user panel create endpoint form.
Whenever you want fetch your content by pathname, firstly have to generate an private access token from user panel.
eg:
So after you have generate a private token you can directly access your content by endpoint.Just you have to put your private token to header with bearer and sending a GET Request.
THIS GENERATED TOKEN IS MUST BE SECRET !!!
id | url | description | content | date |
---|---|---|---|---|
int |
string |
string |
string |
date |
Clone the project
git clone git@github.com:Pathokun/pathokun.git
Go to the project directory
cd pathokun
Install dependencies
npm install
Start the server
npm start
Build Dockerfile
docker build . -t pathokun
Run Docker Image
docker run <CONTAINER_ID>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Give a ⭐️ if this project helped you! or buy me a 🍺 Paypal