Giter VIP home page Giter VIP logo

mapprint-shelter-simeji's Introduction

mapprint-shelter

pnpm i

docker compose up -d

pnpx prisma generate

pnpm dev

Database

Preparation:

export POSTGRES_URL=postgresql://postgres:postgres@localhost:5433/postgres?schema=public

Usage:

Run docker-compose up to start the PostgreSQL container. Execute pnpx prisma generate to generate Prisma Client code aligned with the Prisma schema. Run pnpx prisma migrate dev to apply necessary migrations. Use pnpx prisma db seed to incorporate initial data.

docker-compose up  
pnpx prisma generate
pnpx prisma migrate dev  
pnpx prisma db seed

Verification:

psql -h localhost -p 5433 -U postgres -d postgres
\dt

If tables are displayed, it's OK.

Tips:

You can use the command npx prisma studio to view the data added through the seed process.

Map

We are using the GeoJson format. https://ja.wikipedia.org/wiki/GeoJSON

mapprint-shelter-simeji's People

Contributors

ttizze avatar minagishl avatar yuiseki avatar suguru-toyohara avatar renovate[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.