You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will start the server and run the REST API, allowing interaction with the simulated database.
107
101
108
102
## Technologies Used
109
103
@@ -123,13 +117,21 @@ This will start the server and run the REST API, allowing interaction with the s
123
117
-**Visual Studio Code**: Integrated Development Environment (IDE) required to run the project. Make sure to use version 1.99.0 to avoid compatibility issues.
124
118
-**Live Server**: A Visual Studio Code extension that allows you to preview HTML files locally in a browser, showing real-time changes.
125
119
126
-
### Steps to Use This Project
120
+
### Cloning the Repository
127
121
128
-
1. Download the compressed project file from GitHub to your computer or clone it using SourceTree.
2. Once downloaded or cloned, add it to your workspace in Visual Studio Code.
132
+
This will start the server and run the REST API, allowing interaction with the simulated database.
131
133
132
-
3.After downloading Sparrest, update its dependencies. Then, to incorporate the sample database used in this project, copy the project's `db.json` file and replace the one generated by Sparrest when initialized.
134
+
After downloading Sparrest, update its dependencies. Then, to incorporate the sample database used in this project, copy the project's `db.json` file and replace the one generated by Sparrest when initialized.
133
135
134
136
To start the database, simply run the following command inside the Sparrest directory:
135
137
@@ -140,10 +142,9 @@ npm start
140
142
### Notes
141
143
142
144
- The `db.json` file contains three accounts and 14 posts. These are the credentials for logging in and editing the existing posts:
0 commit comments