You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
A fullstack library application. Fullstack platform built with Reactjs, Express, MongoDB & Reduxtoolkit. This app includes authentication, books, bookings, and many more features. Users can view books, log in with google, and login user can borrow, deleted, and update their own profiles.
Fullstack platform built with Reactjs, Express, MongoDB & Reduxtoolkit. This app includes authentication, books, bookings, and many more features. Users can view books, log in with google, and login user can borrow, deleted, and update their own profiles.
ps. this project is a solution to intergrify fullstack assignment
Due to demo reasons and Heroku free terms, if an app receives no web traffic in a 30-minute period, it will sleep. Therefore, during the first launch, the application may take longer to load than usual, approximately 15 - 20 seconds. So please be patient and wait for the app to launch. Subsequent launches will be relatively fast.
Create a .env file in the api root and add the following
NODE_ENV = developmentPORT = 5000SECRET_KEY = your secret keyMONGO_URI = your mongodb uriCLIENT_ID = your google client idCLIENT_SECRET = your google client secret
cd to client, create a.env file in the root
cd client
cd to api, create a.env file in the root
cd api
and add the following
REACT_APP_API_KEY = google api keyREACT_APP_API_GOOGLE_CLIENT_ID = google client idREACT_APP_CLIENT_ID= google client id
Install Dependencies (client & Api)
npm installcd clientnpm install
Run
# Run Api (:5000)cd apinpm run start:dev
# Run clientcd clientnpm start
Build & Deploy
# Create client prod buildcd clientnpm run build
Contributing
Contributions are highly appreciated. In general, I follow the "fork-and-pull" Git workflow.
Fork this repo
Clone the project to your own machine
Commit changes to your own branch
Push your work back up to your fork
Submit a Pull request so that I can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
License
MIT license
About
A fullstack library application. Fullstack platform built with Reactjs, Express, MongoDB & Reduxtoolkit. This app includes authentication, books, bookings, and many more features. Users can view books, log in with google, and login user can borrow, deleted, and update their own profiles.