GithubHelp home page GithubHelp logo

books-library's Introduction

books-library

books-library's People

Contributors

starjardin avatar tanosimboangy avatar

Watchers

 avatar

books-library's Issues

[BE] - API endpoint happy path

We want to create a few endpoints that we can use so we can operate well in our books API

Acceptance criteria:

  1. Set up a graphql API that returns {hell: 'hello world'} when I send a request to localhost:8080/hello-world endpoint.
  2. If I hit an endpoint that does not exist - for example localhost:8080/hello-world/unknown - it should return an error

[FE] - Deploy FE repo to vercel

Overview

We want to deploy our FE repo to vercel.

Acceptance criteria

  1. As a user, I want to click a given link that will lead me to book library
  2. Update the Readme.md file in the root repo, and share the URL there. If we customise our domain, please set the domain to be https://onja-library.app.vercel

[BE] - Save changes from edit endpoint to database

Overview:

As a user I want to make changes and save the changes I have just made to a database so when I come back to the application next time, my changes are not lost.

Acceptance criteria

  1. When I edit todo, I can see my changes saved to a database.

[FE] Dockerise FE repo

Overview

We want to dockerise our application, the FE repository, in the hope of easing our deployment process and avoiding the 'it works on my computer' problems

Acceptance criteria

  1. Create a docker-compose file with full instructions to create a docker container that can run our app. Our app should run in a container
  2. Create a Dockerfile to create a Docker image for our apps.

Tech notes

Create a docker-compose file example: https://docs.docker.com/compose/gettingstarted/#step-2-define-services-in-a-compose-file
Create a docker image file example: https://docs.docker.com/get-started/02_our_app/#build-the-apps-image

[BE]: Setup mongodb

  1. We need to setup mongodb database to store our books data.
  2. Create a mongodb database with the name books-library
  3. Take the string to connect to the database and link it to our backend repository so that we can do operations to our database.

Note:
Maybe useful for testing: https://www.mongodb.com/docs/mongodb-shell/. We can use this command line to insert/update/read/delete from our database.

[BE] - Dockerise backend repo

Overview

We want to dockerise our application, the backend repository, in the hope of easing our deployment process and avoiding the 'it works on my computer' problems

Acceptance criteria

  1. Create a docker-compose file with full instructions to create a docker container that can run our app. Our app should run in a container
  2. Create a Dockerfile to create a Docker image for our apps.

Tech notes

Create a docker-compose file example: https://docs.docker.com/compose/gettingstarted/#step-2-define-services-in-a-compose-file
Create a docker image file example: https://docs.docker.com/get-started/02_our_app/#build-the-apps-image

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.