Skip to content

This is a web app intended to help persons of interest to promote their upcoming events

License

Notifications You must be signed in to change notification settings

shaaddev/SocialEventsNextJS

Repository files navigation

Social Events

Preview

preview

This is a full stack project created using NextJS, Bun, KindeAuth, AWS S3 and PostgreSQL.

Originally created using the python based web framework Django

Getting Started

Clone project

$ git clone <insert_here>

Install dependencies

$ nvm use 20.9.0

$ npm install

or

$ bun install

Run in Development

$ npm run dev

or 

$ bun run dev

Database Schema

CREATE TABLE posts (
    id SERIAL PRIMARY KEY,
    kindeAuthId TEXT NOT NULL,
    kindeAuthName TEXT NOT NULL,
    title TEXT NOT NULL,
    caption TEXT NOT NULL,
    location TEXT NOT NULL,
    event_date TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);

CREATE TABLE media (
    id SERIAL PRIMARY KEY,
    type TEXT NOT NULL,
    user_id TEXT NOT NULL,
    post_id TEXT,
    url TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
)

Note

v2 - Image Storing has been added - (Stable)

About

This is a web app intended to help persons of interest to promote their upcoming events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published