LeetCode Public API 🚀
- Get access to the live api 👉🏻 Leetcode Rest API
Build ⚒️
Initialize
- Clone the repository
https://github.com/bharathkalyans/leetcode-rest-api.git
using commandgit clone https://github.com/bharathkalyans/leetcode-rest-api.git
- Open the terminal, navigate to the package.json directory and run the command
npm i
ornpm install
to install all the dependencies.
Running the Application
Run the application using the below command
npm start
- Visit
http://localhost:4000
for local server access.
File Structure
/.
app.js
/routes
/leetcode.js
/userInfo.js
/error.js
/mainRoutes.js
/queries
/leetcodeGraphqlQueries.js
/userGraphqlQueries.js
/utils
/constants.js
/listRoutes.js
/utility.js
Open Source Contribution 🎒
What do you need to get started?
Latest version of Node JS, idea of how a REST API works and a bit of googling skills 😉.
- All contributions are welcome 🙌🏼
- Open an issue first, get yourself assigned before working on it and describe changes made properly and attach supporting Snapshots in the PR.
Contributors
Sponsor ❤️
- Do consider sponsoring ❤️ us to Support this project so that we can cover the costs of the server.
- You can also support this project by starring the repository, contributing through refactoring the code or updating the documentation as well.
If interested in sponsoring, visit the Author's profile page to
Sponsor directly.