galliotl / barty Goto Github PK
View Code? Open in Web Editor NEWbar app
bar app
Need to register and eventually pay (if there's lots of request)
Mettre en place des vérifications regex sur les différents champs des méthodes createBarController et userSignupController
Je ne comprends pas pourquoi mais même en passant l'id dans le body de la requête get, la réponse est toujours "couldn't retreive this bar".
D'ailleurs on a la même réponse si on ne fournit pas d'id, ce qui ne devrait pas être le cas.
Implement a way to verify email (send an email to the mail adress with a code or a link)
Create a request for bars in which we send the mail and password and get back the id and token
Pensez du front au back à la gestion des images
In the bars section of the main page when we deactivate the geolocation on the device it spins forever
Implement tests on the bar methods
Tout est dans le tire.
Une discussion/réflexion de groupe est nécessaire avant de se lancer.
You can create a random container decorated with a gradient and use InkWell to add splash color afterwards
Is your feature request related to a problem? Please describe.
No restrictions are currently in place to add code in the code base. This is dangerous
Describe the solution you'd like
Add restrictions of at least 1 CI github action validation + 1 peer review
Describe alternatives you've considered
Force documentation
Dans le createBarController, réfléchir à quels paramètres doivent réellement être obligatoires à la création (pas event par exemple)
Is your feature request related to a problem? Please describe.
We currently don't have any way to prove code regression if any. Indeed, no tests are made so one can clearly push code that's wrong and worse, breaks already existing code
Describe the solution you'd like
Adding a testing framework to the project and implementing it
Describe alternatives you've considered
Additional context
Tests are automatically done now with github actions so it's really not a hassle to test the whole project
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Currently no tests are being made before uploading.
Describe the solution you'd like
a test folder should be implemented in the src folder conainig all the tests files. We should use mocha as it is the most widely spread library.
Additional context
Putting it in CI would be a great idea
Créer un model (interface et schema) “adressBar” qui contiennent les champs [streetAdress: string; city: string;state:string;postalCode:number;country:string]
et utiliser ce schéma à la place de String pour stocker les adresses des bars
Is your feature request related to a problem? Please describe.
Separation could be done later on. Rn, it adds a lot of not needed issues for a project not yet live.
Describe the solution you'd like
A folder with all the routes and handlers
Il faut implémenter le QRcode
Explicite
Is your feature request related to a problem? Please describe.
We need a clean user crud api
Describe the solution you'd like
an api that respects the rest api convention given in https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9
Use this plugin https://alligator.io/flutter/geolocator-plugin/
Bars have different schedule depending on the day. And some days, they're closed
Enregistrer la date de création des bars et des users (regarder l'objet mangoose Date, probablement approprié)
Ajouter un id pour les users et bars (trouver un moyen de les auto-générer)
Currently auth server is pretty shitty and basic. We should create a new workflow for it where:
Faire en sorte qu'on puisse modifier un bar et checker si ça met à jour le updatedAt (timestamp)
Trouver un moyen de stocker les heures et minutes pour les horaires d’ouverture et de fermeture des bars (il n’existe que l’objet Date et pas d’objet time dans mangoDB, donc il faudrait peut être créer un model “time” qui contiennent [hour:Number;minute:Number] )
Have in mind that bar have multiple pictures
delete what's not used
In order to automate some basic tests and prevent failing code to enter the codebase, we should add github actions as part of our integration process
qu'un bar puisse créer modifier supprimer un event et que tous les users puisse le voir
Il faut ajouter un champ password au model bar mais bien évidemment, comme pour les users, ne stocker que son hash
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.