-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'docker' of https://github.com/Meet-Miles/astroplant-pla…
…tform into docker
- Loading branch information
Showing
56 changed files
with
3,953 additions
and
3,186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,46 @@ | ||
# astroplant-platform | ||
Repository of the astroplant community platform front-end | ||
# AstroPlant Community Platform | ||
|
||
Repository of the astroplant community platform. For more information about the platform and it's purpose, go to [astroplant.io](https://www.astroplant.io/). | ||
|
||
## Structure | ||
|
||
```bash | ||
|
||
│ .storybook // storybook related files | ||
│ api // the strapi project | ||
│ components // the react components | ||
| | | ||
| └─── cards | ||
| └─── forms | ||
| └─── grids | ||
| └─── inputs | ||
| └─── layouts | ||
| └─── stories // storybook's stories | ||
| └─── ... | ||
│ hocs // higher order components | ||
│ pages // next.js pages | ||
| providers // providers & context definitions | ||
| public // public assets for the next.js front-end | ||
| services // tools to access api's data | ||
| styles // styling related files | ||
| utils // helper function & hooks | ||
|
||
``` | ||
|
||
## Technology Stack & Dependencies | ||
|
||
The platform uses [Next.js](https://nextjs.org/) as a front-end framework and [Strapi](https://strapi.io/) as a back-end. It uses data & control endpoints from [astroplant's API](https://github.com/AstroPlant/astroplant-api) to control kits and display their data. | ||
|
||
## Tools used | ||
|
||
- [Storybook](https://storybook.js.org/) : for documentation, design system publication, extreme use case testing. | ||
- [Formik](https://formik.org/) & [Yup](https://github.com/jquense/yup) : for forms creation & validation | ||
- [Styled-Components](https://styled-components.com/) : for styling. | ||
- [Leaflet](https://leafletjs.com/) : for map creation & interactions. | ||
- [React-Markdown](https://github.com/rexxars/react-markdown) : for markdown to html rendering. | ||
- [Chart.js](https://www.chartjs.org/): for charts creation & edition. | ||
> /!\ May change in favor of [D3.js](https://d3js.org/). | ||
## Contributors | ||
|
||
- [RmnRss](https://github.com/rmnrss) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
module.exports = ({ env }) => ({ | ||
host: env('HOST', '0.0.0.0'), | ||
port: env.int('PORT', 1337), | ||
host: env("HOST", "0.0.0.0"), | ||
port: env.int("PORT", 1337), | ||
admin: { | ||
auth: { | ||
secret: env("ADMIN_JWT_SECRET") | ||
} | ||
} | ||
}); |
Oops, something went wrong.