Code Monkey home page Code Monkey logo

arkesia.gg-web's Introduction

Arkesia.gg Website - A Lost Ark interactive map

Contribution

This app is Open Source. Contributors are highly welcome!

Join us on our Discord.

Requirements

This project uses Node.js and MongoDB. You need to set some environment variables to run the app. A common way is to create an .env file, based on template.env.

cp template.env .env

The following list shows the variables you need to set:

KEY VALUE
DATABASE_URL URI of your PostgreSQL database
DISCORD_ACTIVITY_WEBHOOK_URL Discord webhook URL for activity notifications (optional)
DISCORD_MODERATION_WEBHOOK_URL Discord webhook URL for moderator notifications (optional)
SUPABASE_URL Supabase URL for storage (required for image upload)
SUPABASE_PUBLIC_KEY Supabase Public Key (required client side database access)
SUPABASE_SECRET_KEY Supabase Private Key for storage (required for image upload)
PLAUSIBLE_API_HOST Plausible API host (optional)
PLAUSIBLE_DOMAIN Plausible domain (optional)

In order for the screenshot file upload to work locally, you need to create a Supabase account, activate the storage feature, create a new bucket called nodes and make it public.

Development

From your terminal, you need to install the dependencies first:

npm install

Then you need to synchronize the Prisma schema with the PostgreSQL database schema:

npx prisma migrate dev

Now you are ready to start the app in development mode:

npm run dev

Sample data

The app requires a user to add and maintain nodes. You can create a user with the following script:

npx prisma db seed

Prisma has an integrated client to explore your database:

npx prisma studio

Libraries

The project is based on Remix, a full stack React web framework focused on user experience and performance. For UI components, we use Mantine. The database is connected via Prisma, an ORM which connects to PostgreSQL.

Please refer to these documentations for more information.

Deployment

The app is deployed on Vercel.

Licensing

MIT

arkesia.gg-web's People

Contributors

lmachens avatar fre-ben avatar ryantaplin avatar lgtm-migrator 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.