Using the local study set service (json-server) #94
ashkjones
started this conversation in
Tutorials and Resources
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Update: You can also use the Firebase emulator (#120) for local development. This json-server approach runs faster and is recommended for less powerful laptops
json-server
node package is installed. Runningnpm install
at the project level adds the correct package to yournode_modules
directory.npx json-server dev-set-db.json
in the terminalhttp://localhost:3000/studySets
in your browser.ng serve --open
in a new terminalNote: Port 3000 is the default and is what is used by the
study-set-dev.service.ts
. If you want to change the port for some reason, you will have to edit the service codeBeta Was this translation helpful? Give feedback.
All reactions