This is my MongoDB project for Start2Impact.
The main purpose of this project is to build a Bitcoin exchange platform using Django, Djongo and MongoDB.
BitChange allows users to register and log into the platform and gives from 1 to 10 bitcoins and 20'000€ to every new user to start trading. Customers can post buy or sell orders for a certain amount of Bitcoin at a specific price in €. The platform matches user orders based on the quantity of Bitcoin and the Euro price, and doesn't charge any fees.
Django is a powerful and popular Python based web framework for building web applications.
MongoDB is a high-performance NoSQL database that provides flexible and scalable data storage capabilities.
Djongo is a database connector that allows Django to interact with MongoDB.
- Clone this repository in your local
- Be sure to have Python installed on your device, for this project i used Python 3.10.6.
- Be sure to have a Python IDE on board (I recommend PyCharm)
- Open the program main directory in your IDE, open a new terminal window and type
pip install virtualenv
- Create a virtual environment by typing
python3.10 -m venv env
and activate it withsource env/bin/activate
- Install program requirements by typing
pip install -r requirements.txt
- Update the program MongoDB database by typing
cd Project
,python manage.py makemigrations
andpython manage.py migrate
- Run the program by typing
python manage.py runserver
- Open http://127.0.0.1:8000/ in your browser and enjoy BitChange!