A system for real estate companies and agents, built with Typescript, MongoDB and Express.js.
Kauã Hamilton
2.1.0
-
On Google Chrome or your preferred browser, search "Node.js", "VSCode" and "MongoDB", then download and install;
-
Launch VSCode, and choose a directory (I suggest 'documents');
-
Press
Ctrl + Shift + ', or click in the top bar 3 points/terminal/new terminal -
Paste the command below and press enter to run it:
npm i
- Create a new file in the root of dostoc folder, name it exactly '.env' and paste the following code:
SESSION_SECRET=''
DATABASE_URL='mongodb://localhost:27017/dostoclocal'
-
Replace the text inside the quotation marks in SESSION_SECRET (enter something long, like a random phrase).
-
⚠️ Do not share .env file with other people never.
-
You can see a 'start.bat' file. This is an easy system starter. Create a shortcut and move to a convenient location on your PC (taskbar, desktop, etc.);
-
Done! Now, you can run Dostoc by opening the 'start.bat'. If after loading your browser don't show the web page, open the browser and search this: localhost
Thanks for choose Dostoc! I hope you have a great experience!
practice all concepts of back-end web programming comprehensively:
- Security
- Performance
- Reliability
- Scalability
- Maintainability
- Structured Programming
- Database management
- DevOps
