front-end repo is this
Free Ocean proposal to reach the communities, where will be able to participate against pollution ocean, the idea is to have a social impact to promote the care of the oceans.
This project is a BETA in development
To use this project you need to have Node and NPM installed.
After cloning, run the following commands in the terminal from the project folder:
npm install --save-dev [email protected]
npm install eslint --save-dev
npm install uuid
npm install express
npm install cors
graph
JSON --> JSON_HANDLER
JSON_HANDLER --> MEETINGS_CONTROLLER
MEETING --> MEETINGS_CONTROLLER
MEETING --> WEB_PAGE
MEETINGS_CONTROLLER --> WEB_PAGE
classDiagram
Meeting --> FrontEnd
MeetingsController --> FrontEnd
JsonHandler --> MeetingsController
class Meeting{
string id
string name
string organizer
string description
string[] tags
date startDate
date endDate
string location
number followers
bool isActive
addFollower()
removeFollower()
addTag(tag)
removeTag(tag)
}
class MeetingsController{
getAll() Meeting[]
getMeeting(id) Meeting
filterMeetings(predicate) Meetings[]
addFollower(meetingId)
removeFollower(meetingId)
addTag(meetingId, tag)
removeTag(meetingId, tag)
addMeeting(meeting)
updateMeeting(id, newMeeting)
deleteMeeting(id)
}
class JsonHandler{
read(filePath) any
rewrite(filePath, data)
write(filePath, data)
update(filePath, id, newData)
delete(filePath, id)
}
https://freeoceanapi.azurewebsites.net/v1/meetings
: gets a list of all the existing meetings
https://freeoceanapi.azurewebsites.net/v1/name=:name&&org=org&&desc=description&&tags=[tags]
: adds a new meeting with the indicated params