Skip to content

0xNeffarion/Basic-Storefront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Storefront

Storefront back-end (local server) & front-end (client) applications.

Prerequisites

  • Linux based OS. Ubuntu, Debian, Fedora, etc..
  • GCC installed for compiling the source code

Installing

Clone or download a zip file with source code and extract to a folder.

If you dont have GCC installed type the following in the terminal:

sudo apt-get install gcc

You can use the provided .sh files to build and run the client/server.

Make sure they have permission to execute.

Build server and client:

sh build.sh

Run client or/and server

sh client_run.sh
sh server_run.sh

Any compiled files will be in the bin folder

Authors

Acknowledgments

This was a simple university project written in C.

All information is stored locally on same machine (users, stats and items) @ ~\labc_sm_data

In order to log in into the server for the first time the starting user will be:

Username: gestor
Password: admin

It is possible to reset the stock, stats and registered users info by running the server with the following arguments (in-case something goes wrong unnexpectedly)

.\sv.out reset target

Target can be either: users, stats or stocks

About

Storefront back-end & front-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published