Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
felixtanhm committed Apr 17, 2024
1 parent bafd277 commit b382a6e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions full-stack-javascript/20-forms-and-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,6 @@ An implementation of the local library from [a MDN tutorial](https://developer.m

![Class diagram](image.png)

## Installation

Clone repository:

```bash
git clone [email protected]:creme332/my-odin-projects.git
```

Navigate to project directory:

```bash
cd my-odin-projects/forms-and-deployment
```

Install dependencies:

```bash
npm install
```

If you don't already have a MongoDB database, follow [this tutorial](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/mongoose#setting_up_the_mongodb_database) to setup your database. Then, create a file `id.js` in the root directory with the following contents:

```js
const mongoConnectionString = "your_string";
module.exports = mongoConnectionString;
```

To start server:

```
npm run devstart
```

Website will be available at http://localhost:3000/catalog.

## References

Most of the code comes from [this MDN tutorial](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b382a6e

Please sign in to comment.