GithubHelp home page GithubHelp logo

alessandroinfo / news-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 30.53 MB

NewsProject - MEAN Stack example App

License: MIT License

CSS 20.45% JavaScript 45.89% HTML 33.66%
angular1 angularjs1 express mean-stack mongodb nodejs

news-project's Introduction

๐Ÿ“ฐ News Project (MEAN Stack example App)

NewsProject is a web application that allows users to read and share news articles on a variety of topics. This project was created as a university project for the MEAN stack with Angular 1.

๐Ÿš€ Getting Started

To get started with the project, follow these steps:

Prerequisites

Before running the application, you will need to have the following installed on your machine:

  • Node.js
  • MongoDB

Installation

  1. Clone the repository: git clone https://github.com/Alessandroinfo/NewsProject.git
  2. Navigate to the project directory: cd NewsProject
  3. Install dependencies for the server side: npm install
  4. Navigate to the client directory: cd client
  5. Install dependencies for the client side: bower install
  6. Return to the project directory: cd ..
  7. Edit the config/env.json file with the details of your running MongoDB instance, like this:
{
  "dev": {
    "MONGO_URI": "your-mongodb-uri",
    "MONGO_PORT": "your-mongodb-port",
    "MONGO_DB": "news_project_db",
    "REDIRECT_ROUTES": {
      "home": "/#/",
      "admin": "/#/admin"
    }
  },
  "prod": {
    "MONGO_URI": "your-mongodb-uri",
    "MONGO_PORT": "your-mongodb-port",
    "MONGO_DB": "news_project_db",
    "REDIRECT_ROUTES": {
      "home": "/#/",
      "admin": "/#/admin"
    }
  }
}

Replace the your-mongodb-uri and your-mongodb-port placeholders with the appropriate details for your MongoDB instance.

Usage

Before running the application, make sure your MongoDB instance is running.

  1. Start the server by running node server.js from the server directory.
  2. Start the client by running npx http-server from the client directory.
  3. Open your browser and navigate to http://localhost:8080/ to use the application.

Note that the server and client must be running simultaneously for the application to function properly.

๐Ÿค– Technologies Used

The following technologies were used to build the project:

  • MongoDB
  • Express.js
  • Angular 1
  • Node.js

๐ŸŽ“ Contributing

Contributions to the project are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes.

๐Ÿ“ Credits

This project was created by Alessandroinfo as a university project for the MEAN stack with Angular 1.

news-project's People

Contributors

alessandroinfo avatar

Watchers

 avatar

Forkers

tizianocassetta

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.