Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
56 changes: 34 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
#100Devs Simple Express App Submission

### Goal: Make Your Own CRUD APP and Push To Heroku

### How to submit your code for review:

- Fork and clone this repo
- Create a new branch called answer
- Checkout answer branch
- Push to your fork
- Issue a pull request
- Your pull request description should contain the following:
- (1 to 5 no 3) I completed the challenge
- (1 to 5 no 3) I feel good about my code
- Anything specific on which you want feedback!

Example:
```
I completed the challenge: 5
I feel good about my code: 4
I'm not sure if my constructors are setup cleanly...
```
# Basic RWC 2023 Pools API

RWC 2023 Pools API allows you to search a database of countries and be returned their pool draw for the Rugby World Cup 2023.


### Tech Used: HTML, Javascript, Express, Node

## Link to API:
https://basic-rwc2023-pools-api.cyclic.app/api


## How to use the API:

Add the name of a country to the URL to get back their data

Example: https://basic-rwc2023-pools-api.cyclic.app/api/country



## How to run the API locally:

To run the API locally, navigate to the server directory and run: `npm install` to install dependencies.

Start the server with: `node server.js`.


## Lessons Learned:

Building this project reinforced my understanding of creating a basic API using Node.js and Express.js and hosting it on Cyclic





13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RWC 2023 Pools API</title>
</head>
<body>
<h1>Teams and their pool draw for Rugby World Cup 2023</h1>
<p>Please use /api/country</p>
</form>
</body>
</html>
Loading