Code Monkey home page Code Monkey logo

Comments (8)

gjovanov avatar gjovanov commented on July 17, 2024

Hi @Novienzi ,
u cannot take only roomler.api. All /packages are layers of a single app roomler.

In other words, multiple packages are managed via
https://github.com/lerna/lerna as a single app.

All you need yo do is run:

npx lerna boostrap

in the root folder and it will install all /packages/package.json dependencies as a single app.

from roomler.

Novienzi avatar Novienzi commented on July 17, 2024

okay, thank you for the response. But can I use the API for another application if in case I want to develop this app on mobile?

from roomler.

gjovanov avatar gjovanov commented on July 17, 2024

Yes, you can easily develop a new UI package e.g. a react native that will talk to roomler.api.

from roomler.

Novienzi avatar Novienzi commented on July 17, 2024

Okey, thanks a lot.

from roomler.

Novienzi avatar Novienzi commented on July 17, 2024

Then, would you mind if describe the API schema for general like who is able to create room, or where I have to go (which API) after login to create room, etc?

Thank you

from roomler.

gjovanov avatar gjovanov commented on July 17, 2024

The route /docs, e.g. if you have started it locally http://localhost:3000/docs, is the SWAGGER route, that describes all API routes and their schemas.

You can find the schem descriptions inside: https://github.com/gjovanov/roomler/tree/master/packages/api/routes e.g.

https://github.com/gjovanov/roomler/blob/master/packages/api/routes/room/room-schema.js

from roomler.

gjovanov avatar gjovanov commented on July 17, 2024

also Swagger is available at: https://roomler.live/docs

from roomler.

gjovanov avatar gjovanov commented on July 17, 2024

Closing...

from roomler.

Related Issues (16)

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.