code4romania / civichq-api Goto Github PK
View Code? Open in Web Editor NEWAPI for Centru Civic. The project aims to turn into the public library of Romanian civic tech.
Home Page: http://centrucivic.ro/
License: Mozilla Public License 2.0
API for Centru Civic. The project aims to turn into the public library of Romanian civic tech.
Home Page: http://centrucivic.ro/
License: Mozilla Public License 2.0
It is unclear how config is loaded. Default config needs to be present that can be overruled by admin.
suggestion: https://github.com/lorenwest/node-config
Display name-ul categoriilor are nevoie de diacritice #georgepruteanu
passwords will be hashed in the db
Each time an app is edited or approved, the logo path is updated with the aws storage path.
applogo: logoSavePath + reqBody.applogoname || null
This should happen only if the logo is changed, not all the time, to avoid creating incorrect urls.
The CivicHQ API should be able to run inside a Docker container alongside the database dependency MySQL.
Missing methods:
A new field was added for the apps:
Data structure-ul pentru modelul app din approved apps are nevoie si de numele imaginii pentru autorul app-ului.
Fallback logo sa pointeze catre assets/images/default-owner.png
The isActive field is a new field that was recently added for apps. The editApp call should be enhanced to permit editing this field.
Best practices
The technologies field is a new field that was recently added for apps. The editApp call should be enhanced to permit editing this field.
Best practices
Please provide either a database structure creation script (sql) or enable a migration solution on this
A new field should be added for apps:
Best practices
document API using swagger
Test the most important API calls:
Useful links:
Let us know if you would like to use a different testing framework ๐
Best practices for reporting new issues:
pm2 start api/server
is not needed and it actually causes when an error, because it starts the server without configuration.
Refactor S3 bucket authentication for development purposes.
Currently the authentication to the S3 bucket is done using long term access keys and secret key. Needs to be switched to temporary security credentials obtained through IAM roles, to make development a lot more accessible.
Add soft delete functionality
Update get apps call for admin
Best practices
related to #code4romania/civichq-client#51
A new field should be added for apps:
Best practices
check & review #71
Stale branches to be investigated and merged to develop branch or removed if no longer needed.
Imaginile nu sunt available la path-ul /assets/images/cevaceva.png
desi acestea se gases pe server dupa adaugarea unui app.
add a new table in the DB that saves a list of technologies as strings
add a new endpoint that retrieves the list of technologies from DB
Best practices
npm start is currently not possible. Needs to be provided.
Make the API dockerizable
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.