https://tubular-sopapillas-0d7c3a.netlify.app/
email - [email protected]
email - [email protected]
email - [email protected]
docker pull thunderblade03/library-students-server:0.0.2.RELEASE
docker pull thunderblade03/library-books-server:0.0.2.RELEASE
docker pull thunderblade03/library-lendings-server:0.0.2.RELEASE
docker pull thunderblade03/library-dashboard:0.0.2.RELEASE
docker run --name libarary-students-container -d -p 5002:5002 thunderblade03/library-students-server:0.0.2.RELEASE
docker run --name libarary-books-container -d -p 5000:5000 thunderblade03/library-books-server:0.0.2.RELEASE
docker run --name libarary-lendings-container -d -p 5001:5001 thunderblade03/library-lendings-server:0.0.2.RELEASE
docker run --name libarary-dashboard-container -it -p 5173:3000 thunderblade03/library-dashboard:0.0.2.RELEASE
The react app may take some time on first load, so have please wait
NOTE: The env variables are in the docker image itself so no need to setup them
You may use the credentials mentioned above to login
NOTE: Do this if you don't have docker or if you want to run unit tests
.\install-dependencies.bat
chmod +x install-dependencies.sh
./install-dependencies.sh
MONGO_URI=[your mongo uri]
JWT_SECRET=[your jwt secret key]
JWT_LIFETIME=10d
.\start-servers.bat
chmod +x start-servers.sh
./start-servers.sh
NOTE: Create your own administrator under the users model using mongo compass to start using the app
NOTE: servers should be started before do unit testing
cd students
npm test
cd books
npm test
cd lending
npm test
Import the a4-hackathon.postman_collection JSON file in postman
Connect your phone or use an emulator (Watch Video)
flutter doctor
if any error resolve it first.
open Mobile App\lib\global_variable.dart
static String ip = "YOUR-WIFI-IP";
static String URL = "http://library-";
static String booksPORT = "books-api.vercel.app";
static String lendingPORT = "lendings-api.vercel.app";
static String studentPORT = "students-api.vercel.app";
flutter run
Note: Make sure that the server is running
flutter test integration_test/app_test.dart