Skip to content

ramzouza/Library-Catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web application for a Software Architecture and Design course Check out the wiki

Collaborators of TEAM 13

Frontend

To run the frontend application :

  • Move into the frontend folder
  • Run npm install if you haven't already
  • Run npm start to start the dev server.

This will start the server and open the browser at http://localhost:3001.
React's dev server allows you to perform code changes and automatically reload the web-page.

 PS: The frontend application expects a backend server running on port 3000 to work.

Backend API

To access the database, go to this address on your browser http://18.221.83.136.

Admin credentials:

  • username: root
  • password: ribalestbeau
  • db: mysql

To run the backend tests, simply run the command npm test inside the backend directory.

To run the backend server :

  • Make sure you have the latest version of nodejs
  • Move into the backend folder
  • Run npm install if you haven't already
  • Run npm start to start the server.
  • If you are on windows, try running npm run start-windows

For development, we use nodemon.

  • Run npm run dev inside the backend folder.
    That will allow you to perform code changes and automatically reload the server.

 PS: The scripts allow for a port parameter. You can run the server on any port adding -p. Example: npm start -p 3001 will start the server on port 3001

About

Web application for a Software Architecture and Design course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages