RIP Norm ❤️
Base URL
API Endpoints
name
Get by
$ curl https://normhasanapi.herokuapp.com/name/louieck
id
Get by
$ curl https://normhasanapi.herokuapp.com/id/1
n
comics at random
Get
$ curl https://normhasanapi.herokuapp.com/list/3
born year
Get by
$ curl https://normhasanapi.herokuapp.com/born/after/1970
working year
Get by
$ curl https://normhasanapi.herokuapp.com/since/1990
age
Get by
$ curl https://normhasanapi.herokuapp.com/age/min/50
vital status
Get by
$ curl https://normhasanapi.herokuapp.com/alive/true
nationality
Get by
$ curl https://normhasanapi.herokuapp.com/nationality/indian
ethnicity
Get by
$ curl https://normhasanapi.herokuapp.com/ethnicity/irish
Hacktoberfest 2022
How To Contribute
1. Fork the repo
2. Clone the forked repo on your local machine
git clone git@github.com:{GITHUB_USERNAME}/norm-has-an-api.git -b main --single-branch
3. Switch to new branch
git checkout -b '{COMIC_NAME}'
4. Add/modify the required file
Fixing any empty/invalid data: Commit directly to db/db.json
Adding a new comic: Create a new file in the raw
folder. For reference, take a look at 000.json
.
5. Move the active changes to the staging area.
git add .
6. Commit the changes in local
git commit -m 'some relevant message'
7. Push the changes to the remote
git push -u origin {BRANCH_NAME}
8. Compare And Pull
9. Create a new pull request by giving a relevant PR message
10. Congrats 🎉
11. Wait till PR is merged
Sync Your Forked Repository
CLI
$ git fetch --all
$ git checkout main
$ git reset --hard upstream/main
$ git push origin main
GUI
Attribution
Built with Express and deployed on Heroku
Contributing Guidelines
License
This project is licensed under the MIT License.