Giter VIP home page Giter VIP logo

homster's Introduction

Homster

Fullstack game library app written in TypeScript & GraphQL that let you buy and browse games and engage in many communities in similar way like Steam.

Usage

Development setup

In order to follow exact setup guide you need Docker and Docker Compose installed, however this is not required to run the application.

Homster comes with database seeding script for development purposes. You can run it by either "prisma db seed" or directly by command in api directory:

ts-node --transpile-only ./database/seed.ts

0. Environmental variables

Create .env file in api root directory and fill with following:

api.port=4000

web.origin=http://localhost:3000
web.production_origin='https://www.your-production-domain.com/'

cookie.secret='secret'
session.key1='random-hex1'
session.key2='random-hex2'

DATABASE_URL="postgresql://admin-user:admin-password@localhost:5432/homster-db?schema=public"

you can generate hex secrets here

1. Backend

Go to api directory, install dependencies and run:

nest start --watch

2. Frontend

Go to web directory, install dependencies and run

next dev

Features & to do

  • API:
    • Auth
    • Users
    • Games
    • Studio
    • Tags
    • Genres
    • Dealing with file uploading
    • Tests
      • Unit
      • E2E
  • DevOps
    • GitHub Actions
  • UI & UX
    • Navbar & Themes
    • Landing page
    • Auth Pages
      • Login & Register page
    • Store pages
      • Home
      • Wishlist
      • News
      • Single game
    • Special pages
      • User profile
      • Studio
      • Admin
      • Moderation

Tech stack

  • Backend:
    • Nest.js
    • PostgreSQL (Prisma)
    • GraphQL (Apollo)
  • Frontend
    • Next.js
    • Tailwind & DaisyUI
    • GraphQL (Urql)

License

MIT

homster's People

Contributors

poprostuwitold avatar

Stargazers

Natalka avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.