Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spot-web-app
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spot
spot-web-app
Commits
911eb52f
Commit
911eb52f
authored
Aug 10, 2018
by
Alexandre Duret-Lutz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add licenses
parent
c789d196
Pipeline
#3295
passed with stage
in 1 minute and 33 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
725 additions
and
0 deletions
+725
-0
COPYING
COPYING
+674
-0
README
README
+18
-0
client/src/LtlApp.js
client/src/LtlApp.js
+17
-0
server/spotapi.py
server/spotapi.py
+16
-0
No files found.
COPYING
0 → 100644
View file @
911eb52f
This diff is collapsed.
Click to expand it.
README
View file @
911eb52f
...
...
@@ -7,6 +7,10 @@ It's made of
- a client-side web application written using ReactJS,
and calling that API.
Development
-----------
To start developping, first launch a server on localhost:5000 with
% server/spotapi.py
...
...
@@ -18,3 +22,17 @@ then launch a client with
Now any save to spotapi.py or client/src/LtlApp.js will cause these
components to reload automatically.
Licenses
--------
Client and servers are GPLv3 (see COPYING) as they build upon Spot, which is GPLv3.
Third-package used and their licenses:
flask: BSD
flask-CORR: MIT
ReactJS: MIT
Material-ui: MIT
nodejs: MIT
Spot: GPLv3
client/src/LtlApp.js
View file @
911eb52f
/* -*- coding: utf-8 -*-
** Copyright (C) 2018 Laboratoire de Recherche et Développement de
** l'Epita.
**
** This application is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
** published by the Free Software Foundation; either version 3 of the
** License, or (at your option) any later version.
**
** This application is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import
React
from
"
react
"
;
import
"
typeface-roboto
"
;
import
Button
from
"
@material-ui/core/Button
"
;
...
...
server/spotapi.py
View file @
911eb52f
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2018 Laboratoire de Recherche et Développement de
# l'Epita.
#
# This application is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This application is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
flask
import
Flask
,
request
from
flask
import
__version__
as
flask_version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment