Skip to content

AbdulazizAlrabiah/Storefront-Backend

Repository files navigation

Storefront-Backend

Table of Contents

Description

A Web Server Application written in TypeScript to serve a small E-commerce prototype.

Instructions

1- Run 'npm i' before building and running the application.

2- Create a user with the name 'store_front_user'.

3- Create a postgres database with the name 'store_front' and a test one with the name 'store_front_test'.

4- Grant the user the right privileges.

5- Here is a sample dotenv configurations:

HOST=127.0.0.1

DATABASE=store_front

TEST_DATABASE=store_front_test

USER=store_front_user

PASSWORD=password123

BCRYPT_PASSWORD=Secret123

SALT_ROUNDS=10

TOKEN_SECRET=TokenSecret123

6- You can use the scripts in the package.json file to build, test, lint, format and run the project.

Application will be running on localhost port '3000' by default

Database will be running on localhost port '5432' by default

APIs and Database Schema are in the REQUIREMENTS.md file.

Photos-Attribution

  • All other image links are by JeepersMedia is licensed under CC BY 2.0. To view a copy of this license, visit license.
  • "vita-mix hummus" by tofutti break is licensed under CC BY-NC-ND 2.0. To view a copy of this license, visit license.

Contributing

This repository is Storefront-Backend Application for Udacity Full Stack Javascript Developer Nanodegree course.

About

A Web Server Application written in TypeScript to serve a small E-commerce prototype.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors