amanii-resources is a community-driven hub dedicated to gathering and sharing mental health and mindfulness resources. Whether you're looking for guidance on well-being or want to share helpful tools, this platform provides an easy and accessible way to support the mental health journey for all.
The app targets Node.js 18.7.0
Link to the website can be found here: https://amanii-resources.netlify.app/
- Start Here
- How to Set Up MongoDB
- How to Set Up Node.js
- Alternative (Docker) - Recommended for Fast Setup
- Steps to Run Project (Without Docker)
- Future Features
- Contribution
- License
To use the app, you will need MongoDB, Node.js, and npm installed.
Install MongoDB on your machine.
Refer to the MongoDB Installation Guide for instructions based on your operating system.
After installation, start themongod
service in your command line.
Install Node.js from nodejs.org by following the instructions for your operating system.
Windows
Install using the link above and follow the instructions.
macOS
Install Node.js and npm using Homebrew. Open the terminal and run:
brew install node
Linux
Use apt to install nodejs and npm. In the terminal run:
sudo apt update
sudo apt install nodejs npm
Alternatively, you can set up Docker. If docker is not installed in your machine, follow the guide here docker guide.
This Docker configuration is specifically designed for running the application in a development environment. The setup includes development dependencies and other configurations optimized for local development.
Clone the project
git clone https://github.com/Lonercode/amanii-resources.git
cd amanii-resources
Remember to set up a .env.development file using the env example.
Run the command to start up and build the project:
docker-compose up --build
- Clone the Repository
git clone https://github.com/Lonercode/amanii-resources.git
cd amanii-resources
- Backend Setup
cd server
npm install
- Frontend Setup
cd ../client/amanii-resources
npm install
- Environment variables
Create a .env.development file using the .env.example file as a guide. Create your PORT and DB_URI env variables depending on your setup.
- Start the Application
Start both backend and frontend servers. In each run:
npm run dev
- User Authentication: Implement user sign-up and login.
- Feedback System: Add a feedback/rating system so users can identify the most helpful resources.
- Mobile Responsiveness: Improve UI for better usability on mobile devices.
- Bookmarks: Allow users bookmark resources they find helpful for future reference.
I welcome contributions to the amani-resources project. You can do so easily:
-
Fork the Repository
-
Clone Your Fork:
git clone https://github.com/Lonercode/amanii-resources.git cd amanii-resources
-
Create your branch
git checkout -b feature/YourFeatureName
-
Work on and commit your branch
git commit -m "Hey Lonercode check out my contributions."
-
Push to your forked repo
git push origin feature/YourFeatureName
-
Make a pull request
MIT - see the LICENSE file for details.