-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8476f32
commit c34963c
Showing
1 changed file
with
39 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,59 @@ | ||
|
||
# App Requirements Task | ||
# Mancomm Recruitment Site | ||
|
||
A flutter project to add and retrieve covid resources with state and type filtering. The backend is in express and MongoDB. | ||
A [flutter](http://flutter.dev/) web project built to facilitate mancomm registrations of IEEE SBM for the session of 20-21. It includes a landing page with a timeline and a registration page connected to [Firestore](https://firebase.google.com/docs/firestore). | ||
|
||
## Setup | ||
|
||
- First, clone the repository with the 'clone' command, or just download the zip. | ||
- First, clone the repository with the 'clone' command, or just download the zip. | ||
|
||
``` | ||
$ git clone https://github.com/InfiniteVerma/mancomm-rec | ||
``` | ||
|
||
- Install dependencies from pubspec.yaml by running `flutter packages get` from the project root | ||
|
||
- Enable flutter web. (See [here](https://flutter.dev/docs/get-started/web) for the official guide) | ||
|
||
- Create a new [Firebase](https://console.firebase.google.com/) project and replace the contents of `example-config.js` file in the `web/` folder and rename it to `config.js`. | ||
|
||
|
||
### Backend | ||
## Run | ||
|
||
- Install backend dependencies by running ```npm i``` while in the ```backend/``` folder. | ||
- Add ```DB_URL``` in a ```.env``` file and copy-paste the MongoDB URL after setting it up on MongoDB atlas. | ||
- Run ```npm run dev``` and verify everything is working. | ||
- Deploy on Heroku. Use this [link](https://devcenter.heroku.com/articles/getting-started-with-nodejs) for details. | ||
Run you app in Chrome | ||
|
||
### App | ||
``` | ||
flutter run -d chrome | ||
- Install dependencies from pubspec.yaml by running `flutter packages get` after navigating into the ```app/``` directory. | ||
``` | ||
|
||
## Run | ||
To hot restart (and rebuild state), press "R". | ||
|
||
## Quick Changes | ||
|
||
To change the content and quickly build your website, most of the strings are stored in a single file at `lib/data.dart` | ||
|
||
## Building with the production JavaScript compiler | ||
|
||
Run you app | ||
To enable the release compiler, run. | ||
|
||
``` | ||
flutter run | ||
flutter build web | ||
``` | ||
|
||
To hot restart (and rebuild state), press "R". | ||
This will create a `build/web` directory with index.html, main.dart.js and the rest of the files needed to run the application using a static HTTP server. | ||
|
||
## Deploy | ||
|
||
To deploy it, push the `web/` directory on your particular hosting service. | ||
|
||
## License | ||
|
||
This project is available under the MIT license. See the [LICENSE](https://github.com/InfiniteVerma/mancomm-rec/blob/master/LICENSE) file for more info. | ||
|
||
## Acknowledgements | ||
|
||
- [Flutter-Web---Food-App-UI](https://github.com/abuanwar072/Flutter-Web---Food-App-UI) | ||
- [Flutter Login Page Responsive UI Website with Illustration](https://www.youtube.com/watch?v=U1a1W2oXBFY) |