Chemical CRM

intro

Hello everyone!

Thank you for purchasing solution. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

Quick Start Guide

Setting up Chemical CRM is very simple. You will receive the following files after extracting project compressed file:

Folder Structure
  • Build: It contains the build files for both SQL Server and MySQL Provider which you can directly deploy to your server.
  • DatabaseScripts: This folder contains initial scripts for both the database providers.
  • Souce Code: It contains the complete source code for front-end and REST API. There are different REST API folders for SQL Server and MySQL database providers.

Prerequisites

.NET CORE 5 SDK and VISUAL STUDIO 2019, SQL SERVER or MySql 8 +

.Net Core Installation


Installation steps

  • Based on your requirement choose the SQL or MySQL API in respective folder of source.
  • Open solution file ChemWebsite.sln from .Net core folder into visual studio 2019.
  • Right click on solution explorer and Restore nuget packages.
  • Change database connection string in appsettings.Development.json in ChemWebsite.API project.
  • Open package manager console from visual studio menu --> Tools --> nuget Package Manager --> Package Manager Console
  • In package manager console, Select default project as ChemWebsite.Domain
  • Run Update-Database command in package manager console which create database and insert intial data.
  • From Solution Explorer, Right click on ChemWebsite.API project and click on Set as Startup Project from menu.
  • To run project Press F5.

Angular Installation


Prerequisites

Although Chemical CRM can be run without any development experience, it would be much easier if you already have some experience. The following instructions allow you to run a local copy on your machine.

Install tools

If you have not yet installed nodejs, please Download and globally install nodejs : https://nodejs.org
Note: download Recommended For Most Users version

A detailed instruction on how to install NodeJS is available here.

Note: Make sure you have Node version >= 4.0 and NPM >= 3 . Also globally installed typescript.

Installing Angular-CLI globally is as simple as running this simple command: npm install -g @angular/cli

After the tools is installed, go inside of the Angular directory and run below command to install dependencies:

Run npm install to install node dependencies defined in package.json.

Running local copy

To run a local copy in development mode, replace REST API URI (apiUrl) variable in environment file inside src --> environments -->environment.ts

execute ng serve and go to http://localhost:4200 in your browser.

To run the local copy in production mode and build the sources, execute ng build --prod. This will builds a production version of the application. All html,css and js code is minified and put to dist folder. The contents of this folder you can to put to your production server when publishing the application.

Hosting

Prerequisites

In order to host, you need the .Net 5 Runtime in your server.

You also need SQL Server or MySQL database provider.

Create Database

Create Database in SQL Server or MySQL Server and run the initial script from DatabaseScripts Folder.

Change Connection String

Change the connection in appsettings.Development.json file as describe as below image:



Host on IIS Server:

  • Open the IIS
  • Add New Website
  • Enter you site name
  • Copy Build\MySQLProviderBuild or Build\SqlServerProviderBuild folder path to physical Path.


Host on Linux Server:

Configuration

  • Users:
    In the initial Script two user has been created as below: [email protected] is Admin user and using this account you can add more users.
  • SMTP Settings:
    In order to send email You need to configure the Default SMTP Settings under the Admin Area.

.Net Core Project Structure


The project structure is as follows:

ChemWebsite.sln/                        * Projects Solution
│   │
│   ├──ChemWebsite.API                  * REST API Controller, Dependancy configuration, Auto mapper profile 
│   │
│   ├──ChemWebsite.MediatR              * Command handler, Query handler, Fluent API validation
│   │
│   ├──ChemWebsite.Repository           * Each entity repository
│   │
│   ├──ChemWebsite.Domain               * Entity framework dbContext 
|   |
│   ├──ChemWebsite.Common               * Generic repository and Unit of work patterns
│   │ 
│   ├──ChemWebsite.Data                 * Entity classes and DTO classes
│   │
│   ├──ChemWebsite.Helper               * Utility classes

Support and Feedback


All questions you can send via the contact form HERE.

I will answer all questions within 24-48h in the order they were received.

Please do not panic if I do not answer too long – I love my buyers and I’ll answer for all questions ;)

Support for my items includes:

  • Answering questions about how to use the item.
  • Answering technical questions about the item (and included third party assets).
  • Help with defects in the item or included third party assets.
  • Item updates to ensure ongoing compatibility and to resolve security vulnerabilities.

Item support does not include:

  • Installation of the item.
  • Hosting, server environment, or software.
  • Support for third party plug-ins.
  • Plugins integration.
  • Support for issues caused by user modifications in the solution’s code, styling and general functionality.

More information about the terms of support you can see here: https://themeforest.net/page/item_support_policy

Conclusion


Thank you for your purchase!

Thanks for reading the Instruction, hope it’s been really helpful and resolved most of your concerns.


Don’t forget to rate if you enjoy the product! It is very important for us to have certain goal.