https://github.com/icapps/htf2023
Hack The Future 2023
https://github.com/icapps/htf2023
Last synced: about 2 months ago
JSON representation
Hack The Future 2023
- Host: GitHub
- URL: https://github.com/icapps/htf2023
- Owner: icapps
- Created: 2023-09-04T09:04:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T16:22:07.000Z (over 2 years ago)
- Last Synced: 2025-01-28T21:17:52.533Z (over 1 year ago)
- Language: TypeScript
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hack The Future 2023 - Code for Nature
This is a [React](https://react.dev) project bootstrapped in [Vite](https://vitejs.dev) that contains some code to get started with, but feel free to start your own React project in another framework.
## How to get started?
### 1. Install the dependencies
```bash
$ npm install
```
### 2. Start the development server
```bash
$ npm run dev
```
Your web app is now live at http://localhost:5173! 🎉
## What is included?
### Types
This project uses [TypeScript](https://www.typescriptlang.org), but don't worry if you're not familiar with TypeScript: it's just JavaScript with typing. (like Java and .NET)
Like mentioned before, feel free to start your own React project without TypeScript if you don't want to use TypeScript.
`types.ts` contains the types for the API you will be using.
### Constants
`constants.ts` contains the URLs of the API you will be using.
### Packages
We recommend you to use the following packages, which is why we have installed them by default, but feel free to use other packages instead:
- [`react-leaflet`](https://react-leaflet.js.org) for creating a map
## Tips
- Use the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) for retrieving data from the API