The core repository for PT.FCN's property and e-commerce platform, containing the main business logic.
The core repository for PT.FCN's property and e-commerce platform, containing the main business logic.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (version 14 or higher)
- MongoDB
- PostgreSQL
- Clone the repository:
1. git clone https://github.com/KOSASIH/fcn-property-commerce-core.git
- Install the dependencies:
1. npm install
- Create a .env file in the root directory with the following environment variables:
1. DB_HOST=<your_mongodb_host>
2. DB_PORT=<your_mongodb_port>
3. DB_NAME=<your_mongodb_database_name>
4. JWT_SECRET=<your_jwt_secret_key>
5. EMAIL_HOST=<your_email_host>
6. EMAIL_PORT=<your_email_port>
7. EMAIL_USER=<your_email_user>
8. EMAIL_PASSWORD=<your_email_password>
- Start the server:
1. npm start
To run the tests, use the following command:
1. npm test
- Node.js - The JavaScript runtime used for the backend.
- Express - The web framework used for the backend.
- Mongoose - The Object Data Modeling (ODM) library used for MongoDB.
- Sequelize - The Object-Relational Mapping (ORM) library used for PostgreSQL.
- Jest - The testing framework used for the backend.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Kosasih - Initial work - KOSASIH
This project is licensed under the MIT License - see the LICENSE.md file for details.