Code Monkey home page Code Monkey logo

warsworld's Introduction

Wars World

Wars World is an open source project made by AWBW players that want to recreate Advance Wars By Web/AWBW, on a modern tech stack so we can all enjoy playing the game we love on a streamlined, blazingly fast, venue that keeps all the stuff we love plus new desperately needed features!

This repository contains the backend and frontend code and is based on this starter template.

Interested in contributing/helping?

Here are our Contribution Guidelines where you can learn more about how you can help the project out!

If you want to reach out the dev team/ask some questions, feel free to DM femboy#6116 on Discord (we aren't big enough to need our own Discord server yet...)

Setting up your local environment

Running our project locally just takes 5 easy steps!

1 - Make sure you have Docker Desktop installed and run it/the docker daemon (needed to run your local db, you just need to have the app running in the background, nothing else!)

2 - Make sure you have pnpm installed (its like npm but faster).

3 - Clone the repository in your own IDE.

4 - Copy the "env.example" to ".env" and setup a random password/string in the PGPASSWORD and NEXTAUTH_SECRET fields.

5 - Install dependencies and run app (run code below)

pnpm i  //This is basically an npm i/install
pnpm dx //This is our npm start

Now go to localhost:3000 and you should be set! If you are having issues, feel free to contact someone in the team!

Soon there will be a more newb/extensive setup your local environment guide here!

Troubleshooting

Building but not able to access the site?

Ensure you are using an up to date node version. ^18.15.0 is recommended.

Our Tech Stack's Features

  • ๐Ÿง™โ€โ™‚๏ธ E2E type safety with tRPC
  • ๐Ÿ–ผ๏ธ Tailwind CSS for easy consistent styling
  • โšก Full-stack React with Next.js
  • โšก WebSockets / Subscription support
  • โšก Database with Prisma
  • ๐Ÿ” Authorization using next-auth
  • โš™๏ธ VSCode extensions
  • ๐ŸŽจ ESLint + Prettier

Files of note

Path Description
./public Where we store our public files (images, favicon, etc)
./src/pages Frontend/tsx pages (index, about, match)
./src/components React components
./prisma/schema.prisma Prisma schema
./src/api/trpc/[trpc].tsx tRPC response handler
./src/server/routers Your app's different tRPC-routers

warsworld's People

Contributors

leekahung avatar javitrek avatar functiondj avatar weskrug avatar igoyak avatar megagreg72 avatar dependabot[bot] 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.