Store all your precious moments at one place.
- Front-end: Svelte.js powered by
create-svelte
. - Back-end: C++ 20
- Database: PostgreSQL
- Svelte.js
- Svelte Kit
- Crow - C++ framework for web app/service
- OpenSSL - for HTTPS
- ZLib - for compression
- Standalone ASIO - required by Crow
- libpq - C library for accessing Postgres databases
- libpqxx - C++ wrapper library for libpq (Postgres)
- jwt-cpp - for JSON Web Tokens
git clone --recurse-submodules https://github.com/kiner-shah/mykmoments.git
git submodule update --init --depth 3 --recursive --remote --jobs 4
sudo apt-get update
sudo apt-get install libpq-dev libssl-dev zlib1g-dev
# For installing postgresql server
sudo apt-get install postgresql postgresql-contrib
You need to apply a patch after cloning Crow because there is one open issue because of which Crow doesn't send proper response for preflight OPTIONS requests.
UPDATE: Crow has released new versions since then and the issue above is now fixed, so the patch may not be needed anymore.
Database schema is present here.
cd restapi
mkdir build && cd build
cmake ..
make
./MyKMomentsRestAPI
npm install
npm run dev