Skip to content

danielksb/web-shop-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Shop in C11

Welcome to the Web Shop in C11 project! This is a personal endeavor designed to deepen understanding in C11, Unix socket programming, C error and memory handling, and system programming in general. Please be aware that this project is purely a hobby undertaking and is neither intended for commercial use nor positioned as a practical open-source application. The primary goal is to foster a hands-on learning experience in low-level programming concepts.

The server and the client employ their own protocol rather than HTTP, adding an extra layer of interest to the project. Deviating from a battle-tested standard provides a refreshing vintage vibe and simplifies certain aspects while introducing challenges in other areas.

Build Instructions

To build the project, use the following commands:

make all   # Build the release version

or

make debug   # Build the debug version with additional debugging information

Database Setup

To set up the PostgreSQL database, you can use Docker Compose. Ensure you have Docker and Docker Compose installed, then run:

docker-compose up -d

This will start the PostgreSQL container in the background.

Running the Web Shop

To start the server, use the following command:

./shop_server

To start the client, use:

./client

Contributions

This project is not intended for commercial use or as an open-source application. It is solely for educational purposes. Contributions and suggestions are welcome but keep in mind the project's learning-focused nature.

License

This project is not licensed for distribution or commercial use. It is meant for personal learning only.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published