Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

learnwithparam/api-design-book

Repository files navigation

API Design for Beginners

Source code for the API design for beginners book.

Prerequisites

All of these must be available in your PATH. To verify things are set up properly, you can run this:

git --version
node --version
yarn --version # or npm --version

If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.

A good code editor like VS Code is preferred.

Installing postgres

Postgres is little tricky to install and get it running. You can download it here and follow the steps for respective OS.

For installing postgres in respective OS,

For connecting to postgres, check the guide here.

Run the API server

For running the final project,

npm install # install the node modules
npm start # start the server locally on port 6060

Code for each chapter

You have the source code for all chapter. You can go to any chapter code in the folder code/<chapter-name>.

Then run the server. It will show the output specific to that chapter.

About

Source code for API Design for Beginners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published