A proof-of-concept member / event management system for small to midsize associations or groups.
Browser/version support is determined by MUI, i.e.:
You should have Node.js and MongoDB* installed (*or use a cloud MongoDB instance).
In a terminal window, go to the directory where you want the project, then clone the repository:
HTTPS:
git clone https://github.com/jannejjj/RASP24.git
or
SSH:
git clone git@github.com:jannejjj/RASP24.git
- Create a .env file under the /server directory. It should contain the following variables:
SECRET="something_here"
MONGODB_CONN_STRING="<your MongoDB connection string>"
- The value of SECRET can be anything, such as "something_here" as shown above
- MONGODB_CONN_STRING is the url for connecting to your MongoDB instance.
- Create a .env file under the /client directory. It should contain the following variables:
REACT_APP_PROXY_TARGET="http://localhost:4000"
REACT_APP_API_KEY="<Your Google Places API key>"
- The proxy target is used to route requests correctly to the backend
- "localhost" in the proxy target should be replaced with "server" if you want to use Docker to run the app.
- You should have your own Google Places API key.
- Make sure you save both .env files.
cd RASP24/
npm install (wait for installation to finish)
npm run dev:server
(in another terminal window) npm run dev:client
Or, if you're using Docker (requires you to have Docker installed):
cd RASP24/
docker-compose up --build
If you haven't received any error messages on the consoles, everything is working correctly. The application is then running at localhost:3000.
