https://github.com/BachirZahaf27/api1
├─── database
| ├─── users.json
│ └─── newspapers.json
└─── src
├─── api
│ ├─── v1
| | ├─── News.js
│ │ └─── Newspapers.js
│ └─── v2
| ├─── News.js
│ ├─── Newspapers.js
│ └─── Users.js
├─── views
| ├─── Contact.ejs
│ ├─── index.ejs
│ ├─── login.ejs
| └─── register.ejs
├─── test
| └─── tests.js
├─── utils
| └─── validation.js
├─── .env
├─── server.js
├─── package.json
├─── package-lock.json
├─── requst.rest
└─── node_modles
-
Acess the src file:
cd C:\\...\api1-master\src
-
lanch the app:
npm run devStart
-
Acess to app in the browser :
localhost:3000
- This page is made with
Bluma
for the user so he can log in the API website, just like it's showing below :
- This page is reactive, so if the there is an error it's gonna display it like below image :
- it also include a button to make
new account if the user don't have one
, just like it's showing below :
- This page is made with
Bluma
for the user so he can make an account to log in the API website, just like it's showing below :
- This page is reactive, so if the there is an error it's gonna display it like below image :
- it also include a button to make
Already have an account
, just like it's showing below :
- This page is made with
Bluma
for the user so he can acces all the severs and the information about this API, just like it's showing below :
-
As you can see in the index page the is 2 servises
newspapers
&news
that talks about the climate change, and also a documantation made withgitbook
. -
This
Contact
page was made so the user can contact the author so he can ask him for permissions,help....etc, just like it's showing below :
https://bachir-zahaf.gitbook.io/live-climate-change-api/