Skip to content

rima1881/Online-Poster-Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stranger Shop

This repo Contains All the Code for Stranger Shop. The programming code is structured in a manner that facilitates the convenient segregation of the frontend and backend components. This repo is still under development.


The Current Address of Shop : stranger.quebec
Disclaimer : None Of the Artists work exist here.

Backend

The backend is written in expressjs and Mongodb using Mongoose.

Nodejs and MongoDB are required to run the program

Configuration:

  • make sure nodejs and mongodb is installed
  • make a user in mongodb for program to connect with it
  • edit backend/utils/mongoose.js file based on the user you have created

Running:

Change directory

cd backend

Install required Dependencies

npm i

Run local Server

node ./app.js


Running first time, program creates admin user

In order to change the initial values edit backend/utils/initials.mjs

Frontend

frontend is writen in reactjs.

Nodejs is required to run the program

In order to run the program run flowing codes :

Change directory

cd frontend

Install required Libraries

npm i

Run local Server

npm run dev

Future Updates

  • The current authorization system is going to be replaced
  • Admin and artist page will be fixed soon
  • I am planing to migrate from javascript to typescript due to many type error problems
  • I am going to make a file for each API's entry point

Requents and Problems

If you have any request or problem with the code please let me know. I will try to respond as fast as I can.

my email address : amirmohammadgharibipour@gmail.com