Skip to content

bharathkalyans/leetcode-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Public API 🚀

Build ⚒️

Initialize

  • Clone the repository https://github.com/bharathkalyans/leetcode-rest-api.git using command git clone https://github.com/bharathkalyans/leetcode-rest-api.git
  • Open the terminal, navigate to the package.json directory and run the command npm i or npm 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.

Thank you for visiting our page 😀