Skip to content

RESTful secure API-Gateway for safe front end communication to back end for data I/O

Notifications You must be signed in to change notification settings

TylerWStroud/SecureAPIGateway

Repository files navigation

Secure API Gateway

Tech Stack

Front End: Vite vite logo TypeScript typescript logo React react logo
Back End: Node.js nodejs logo

Getting Started

The repo requires an installation of nodejs.
Check if you have node on your system by typing in the following in your terminal:

node -v

As of creating this repo, I am using node v22.15.0.

WHAT IF I DON'T HAVE NODEJS INSTALLED
Download Nodejs from this link
Once you run through the installation, open your terminal and run the following commands

node -v
npm -v

If your terminal returns versions for both, you have successfully installed Nodejs.

Running api-gateway

from parent folder, cd to the folder containing the API related index.js file
cd api-gateway
run the following command
npm start
The terminal should say "server running at..." and provide a link to the server you can view.

Running front end

from parent folder, cd to frontend
cd frontend
run the following command
npm run dev => hit o to run the front end locally

!! IMPORTANT !!

Since we do not have an all encompassing run script you need to run the api-gateway first, and in another terminal run the front end.

About

RESTful secure API-Gateway for safe front end communication to back end for data I/O

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •