Giter VIP home page Giter VIP logo

voicemod-api's Introduction

Candidate: Davide Domenico Arcinotti'

A little disclaimer I'm used to work with docker compose, so the instructions to start the various containers might result a bit tedious

instructions I'm assuming no other container (like mongodb) is currently running or created on the target pc. Please change IP's for mongo in database/constanst folder id there is a problem in connection ( docker assigns ips in sequence)

Run: ./mongo-start.sh

Run: ./docker-build.sh

Run: ./docker-start.sh

Hit localhost:3000/api for the swagger documentation.

Remember the API server is working on port 3000.

I suggest using this service https://placeholder.com/ for icons urls. ( i didnt implement a serialiser for them due to scarce time );

The only fields to be filled are 'icon' and 'name'. ID is created by mongo ( but is still required). Price field will set a base price id present, if not it will default to 0.

Remeber to send jsons as body.
this is an example POST request

{
    "name": "A crappy sound",
    "icon": "https://via.placeholder.com/1024x768.png?text=ABadImage"
}

I suggest to play a bit with both dimensions and colors to test the frontend.

Alt text

TECH USED
I used NestJs for the server side, i find it wonderful.
I didnt have time to implement mem-cache, authorization path nor a simple load balancer. Apologies.

voicemod-api's People

Contributors

mastrobardo avatar

Watchers

 avatar James Cloos 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.