8c2b36e475a3d4fb273f96ed9dbdc2fcdf374949
Mikayla's Little E-Commerce Store
A sample E-Commerce app built for a Codecademy portfolio project!
This project will be fully featured, with payment processing through Stripe, session support with Express, and a full REST API build in Express/Postgres. The front end is built in React using TypeScript and Sass, and bootstrapped with Vite.
The API will be fully documented using Swagger, and available at the following link: [link]
Project Structure
The project directory is organized as follows:
client: holds the front end details of the projectdb: this hosts database logic for Node-Postgres interactionsroutes: this hosts the Express router which powers the project's REST APIserver.js: the backend "entryway" for the application, which hosts the server and the integration for the API.
Installing and Running the Project Locally
- Clone the project repository from the root level.
- Node modules are hosted both at root directory level and within the client directory.
- At the root directory level, run
npm installto install backend dependencies. - Change into the
/clientdirectory and runnpm installto install frontend dependencies. - Still within
/client, runnpm run devto start the Vite development server. - In another terminal window at the root directory level, run
node server.jsto start the localhost server. - It should indicate that the server is listening on its designated port, and log each database transaction to the console.
Description
A sample E-Commerce app built as a Codecademy portfolio project, featuring a custom REST API and backend built using Node/Express and PostgreSQL.
Languages
JavaScript
54.6%
TypeScript
34.4%
SCSS
7.5%
Python
2.9%
HTML
0.6%