Skip to content

The third (and hopfully final) version of the booking applicaiton to book vev in the Sandlådan

erikpersson0884/vevit-v4

Repository files navigation

The third (and hopefully final) version of the booking application to book vev in the Sandlådan.

Last Commit Build Status Repo Size Author

Table of Contents

About the Project

vevIT started as a gag-joke when two recently elected people in FikIT could not agree. During that same summer Erik Persson decided to turn the website into a reality with vevIT-v1. However since he did not know anything about web development, it did not turn out very well... Three years later, on the 16:th of september 2025 vevIT version 4 was deployed as a stable realisation of the idea, finally letting people book vev in the Sandlådan.

Built with

Vite React Vitest Prisma Docker TypeScript Express

Features

  • Book vevs
  • User-friendly interface
  • Secure authentication
  • Real-time updates
  • Admin controls

Screenshots

Home page

Home page - mobile

Login popup - mobile

Login popup - mobile

Getting started

Installation

  1. Clone the repo

    git clone https://github.com/erikpersson0884/vevit-v4
  2. Install dependencies

    cd vevit-v4
    
    npm run install
    
  3. Set up a development database

    cd server 
    
    docker run --name vevit-v4 -e POSTGRES_PASSWORD=secretpassword -e POSTGRES_USER=myuser -e POSTGRES_DB=mydb -p 5432:5432 -d postgres
    
    npx prisma migrate dev
    
    npx prisma db push
  4. Set environmental variables

    In ./client/.env

    VITE_BASE_URL=http://localhost:3001/api
    

    In ./server/.env

    DATABASE_URL=postgresql://myuser:secretpassword@localhost:5432/mydb?schema=public
    
    JWT_SECRET=your_jwt_secret
    

Usage

After installation, you simply run the application with a single command from root.

npm run dev

This runs concurrently:

  • Database container (vevit-v4)
  • Backend server (server) in development mode
  • Frontend (client) in development mode

You can also run each part individually:

npm run server       # Starts backend only
npm run client       # Starts frontend only
npm run start-database   # Start DB only
npm run stop-database    # Stop DB only

For production:

npm run build        # Build backend and frontend
cd server
npm start            # Run production server

Contribute

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/myCoolFeature)
  3. Commit your Changes (git commit -m 'Add a very cool feature!')
  4. Push to the Branch (git push origin feature/myCoolFeature)
  5. Open a Pull Request

Acknowledgements

Without the help of a lot of wonderful people, this project would not have been possible! Therefore, there are a few people I would like to acknowledge for their help and support along the way.

First of all, a huge thanks to Gustav 'Goose' Asplund and Oscar 'Space' Eriksson for their enormous help and, not to mention, their encouragement to make this a real website.

Next, I would like to thank Oscar 'Saxen' Palm for a huge amount of time spent helping me learn, debug, and deploy this and various other pet projects of mine.

A big thanks also goes out to my wonderful girlfriend Hanna 'Neinei' Adenholm for her guidance on the design of the site, as well as supporting me along the way.

Finally, a big thanks to all the people who encouraged and helped me along the way, always keeping me motivated to finish this project!🩵

About

The third (and hopfully final) version of the booking applicaiton to book vev in the Sandlådan

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages